In the previous article, we learned how to use Query Objects. But simply returning entities or arrays of entities might[…]
Read moreCategory: Symfony
Query Object Pattern in Symfony
The Query Object Pattern is a pattern that can be used together with the Repository pattern. A query object is[…]
Read moreAbstracting the Doctrine ORM flush
In the previous article, we learned that we need to think in collections. We should not flush inside our repositories.[…]
Read moreDoctrine Repositories should be collections without flush
More then a year ago I wrote the Repository Pattern article. This provides a good overview of the repository pattern.[…]
Read moreLeague OAuth 2.0 server with Symfony – Password Grant
The first grant that we will be implementing is the Password Grant. With a password grant, you will get an[…]
Read moreLeague OAuth 2.0 server with Symfony – Access Token and Refresh Token
In the previous article, we created the User, Client and Scope repositories. This week we will continue by creating the[…]
Read moreLeague OAuth 2.0 server with Symfony – User, Client and Scope
Today we are going to start with the actual implementations of the league OAuth 2 server in Symfony 4. If[…]
Read moreCustom Repository User Provider in Symfony
Last week we had a basic overview of OAuth 2. Before we can start implementing an OAuth 2 server or any[…]
Read moreLeague OAuth 2.0 server with Symfony – Introduction
OAuth 2.0 is a standard to implement authorization with limited access over HTTP. We can use this add authentication to our[…]
Read moreChild Entities lifecycle, making the implicit explicit
Child Entities should not have its own lifecycle. You should not blindly create entities without clearly thinking about its relationships.[…]
Read more