使用 Twig 和 Monolog 的 Simple Slim Framework 3 框架
This is a simple skeleton project for Slim 3 that includes Twig, Flash messages and Monolog.
$ composer create-project --no-interaction --stability=dev akrabat/slim3-skeleton my-app$ cd my-app$ php -S 0.0.0.0:8888 -t public public/index.phpapp: Application codeapp/src: All class files within the App namespaceapp/templates: Twig template filescache/twig: Twig's Autocreated cache fileslog: Log filespublic: Webserver rootvendor: Composer dependenciespublic/index.php: Entry point to applicationapp/settings.php: Configurationapp/dependencies.php: Services for Pimpleapp/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暂无开放 Issues,或尚未同步最近议题。