I have a simple flag to set up the development environment.
'dev_environment' => true, // true or false
- Disables cache
- Show Error
Maybe Phalcon need to implement:
$env = $app->detectEnvironment( 'local' => new Phalcon\Config([ ... ]) );
or some other way to establish environments.
I would like to know what your settings to create an environment for development and production.