Get Environment Name in Symfony 6

Get Environment Name in Symfony 6

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 6

Deprecate Code in Symfony 6

If we are developing 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 changes...