Yes.
Define a configuration handler in config_handlers.yml . It probably looks like this:
config/my_config.yml: class: myConfigHandler
Write your configuration handler. For an example you can look at many other configuration handlers in lib/config . You probably want to expand sfYamlConfigHandler .
To access your configuration values:
sfContext::getInstance()->getConfigCache()->checkConfig('/config/my_config.yml');
source share