ppetermann/slim3-skeleton
Composer 安装命令:
composer create-project ppetermann/slim3-skeleton
包简介
Simple Slim Framework 3 skeleton with Twig & Monolog.
README 文档
README
This is a simple skeleton project for Slim 3 that includes Twig, Flash messages and Monolog.
Important: this is a fork of akrabat's slim 3 skeleton, this fork uses king23/di-interop instead of pimple.
You can read more about this fork in the blog post that caused it
Create your project:
$ composer create-project -n -s dev ppetermann/slim3-skeleton my-app
Run it:
$ cd my-app$ php -S 0.0.0.0:8888 -t public public/index.php- Browse to http://localhost:8888
Key directories
app: Application codeapp/src: All class files within theAppnamespaceapp/templates: Twig template filescache/twig: Twig's Autocreated cache fileslog: Log filespublic: Webserver rootvendor: Composer dependencies
Key files
public/index.php: Entry point to applicationapp/container.php: instantiation of the containe + slim-default-dependenciesapp/settings.php: Configurationapp/dependencies.php: Services for king23/diapp/middleware.php: Application middlewareapp/routes.php: All application routes are hereapp/src/Action/HomeAction.php: Action class for the home pageapp/templates/home.twig: Twig template file for the home page
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-08-22