dcousineau/orlex-standard
Composer 安装命令:
composer create-project dcousineau/orlex-standard
包简介
A full-fledged Orlex distribution with nice extras
README 文档
README
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'].
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-05-19