I have a simple flag to set up the development environment.
'dev_environment' => true, // true or false
This does:
- Disables cache
- Show Error
- etc...
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.