Download the PHP package dcousineau/orlex-standard without Composer
On this page you can find all versions of the php package dcousineau/orlex-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dcousineau/orlex-standard
More information about dcousineau/orlex-standard
Files in dcousineau/orlex-standard
Package orlex-standard
Short Description A full-fledged Orlex distribution with nice extras
License MIT
Informations about the package orlex-standard
Orlex Standard Distribution
The Orlex Standard Distribution is a project installable through Composer that provides a skeleton application utilizing Orlex as well as projects like Twig and Symfony Forms.
Installation
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!
Details
Orlex Standard provides sample code found in the src/
directory. To remove all traces of sample code, first completely
remove the src/App/
directory, then update config/web.php
line 11 to point to a proper controller directory.
Environment
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
by referencing $app['environment']
.
All versions of orlex-standard with dependencies
dcousineau/orlex Version dev-master
silex/silex Version ~1.0
twig/twig Version ~1.8
symfony/twig-bridge Version ~2.2
symfony/validator Version ~2.2
symfony/translation Version ~2.2
symfony/form Version ~2.2