How to Set external Parameters in the Service Container

At times, it may benefit your application to store certain credentials outside of your project code. Database configuration is one such example. The flexibility of the Symfony service container allows you to easily do this. Environment Variables¶ Symfony will grab any environment variable prefixed with SYMFONY__ and set it as a parameter in the service
Continue reading: How to Set external Parameters in the Service Container