A full-fledged Orlex distribution with nice extras
The easiest installation is via composer. After installing composer simply run the following in your command line:
php composer.phar create-project dcousineau/orlex-standard path/to/install
Composer will download a copy of this project into the
path/to/install and setup all of its dependencies. Aftewards you
will be ready to slam out code for your project!
Orlex Standard provides sample code found in the
src/ directory. To remove all traces of sample code, first completely
src/App/ directory, then update
config/web.php line 11 to point to a proper controller directory.
The standard distribution reads an environment variable to determin debug mode. If you're using Apache, adding a
SetEnv directive to either your vhost or
.htaccess (not recommended)
will allow you to control the environment setting. For example:
SetEnv ENVIRONMENT dev
In your vhost definition will ensure Silex's debug mode is enabled. You can also develop your application to respect environment