lefuturiste/slim3-template
Composer 安装命令:
composer create-project lefuturiste/slim3-template
包简介
This is simple template of slimframework 3 and integrations of others php librarys.
README 文档
README
This is simple template of slimframework 3 and integrations of others php librarys.
Quick install
Just run a:
composer create-project lefuturiste/slim3-template
Create a .env file in the root directory and fill it with env vars fields (you can get the list of the fields in .env.example)
The console
This template include console powered by symfony console:
The console allowed this commands:
Local dev server
- php console serve -> for run a local dev server with php cli
Maintenance mode
(not finish)
Maintenance mode allow a independent maintenance mode from your web application.
Maintenance mode is made for rename index.php file in web root directory (public) by _index.php and rename maintenance.php file by index.php file and vice versa.
- php console maintenance open -> for enable maintenance mode
- php console maintenance close -> for disable maintenance mode
Assets compiling
This template include gulpfile.js
Sass compiling with bourbon and live reload
gulp sass
gulp sass:watch
Compile and minify many js file in once file
gulp concat-scripts
gulp minify-scripts
统计信息
- 总下载量: 68
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-12