Get Environment Name in Symfony 7

Get Environment Name in Symfony 7

By default, Symfony application has three environments: dev for local development, prod for production servers and test for running automated tests. This tutorial explains how to get environment name in...
Deprecate Code in Symfony 7

Deprecate Code in Symfony 7

If we are developing a library that is used by multiple applications, then we have to be very careful when renaming class methods, removing unnecessary code or doing other breaking...