Table of Contents
The symfony framework provides a built-in configuration file for application
specific settings, the
app.yml configuration file.
This YAML file can contain any setting you want that makes sense for your
specific application. In the code, these settings are available through the
sfConfig class, and keys are prefixed with the
app.yml configuration file is a great place to define settings that
change based on the environment (an API key for instance), or settings that
can evolve over time (an email address for instance). It is also the best
place to define settings that need to be changed by someone who does not
necessarily understand symfony or PHP (a system administrator for instance).
Refrain from using
app.yml to bundle application logic.
app.yml configuration file is cached as a PHP file; the process
is automatically managed by the