Symfony 3.4 Cache Example

Symfony has a very powerful built-in caching. You can use it directly by calling the default app cache and use it. You can use this a lot in your application in places where you access databases or accessing the web services. Have a great day 😊

Symfony Doctrine Many to Many Relationship (ManyToMany)

Many to many relations are one of the mostly used relations in the relational database. It took a while for me to figure how to properly configure this relation in Symfony Doctrine. I am sharing this so it might be useful for someone. Used very simple example students and course. A student can opt for… Continue reading Symfony Doctrine Many to Many Relationship (ManyToMany)

Symfony: Adding custom route by code during runtime

During development we always come across situation where you need to add custom routes based on some settings based from the user. In this case we cannot use any of the standard methods like annotation and configuration files in symfony. In this case you need to use a services and hooks to inject your custom… Continue reading Symfony: Adding custom route by code during runtime