dev-master
9999999-devSimple Slim Framework 3 skeleton with Twig & Monolog.
BSD-3-Clause
The Requires
- slim/slim ^3.0@beta
- slim/twig-view ^2.0
- slim/flash ^0.1.0
- monolog/monolog ^1.13
- king23/di-interop ^1.0
by Rob Allen
skeleton slim-framework
Wallogit.com
2017 © Pedro Peláez
Simple Slim Framework 3 skeleton with Twig & Monolog.
This is a simple skeleton project for Slim 3 that includes Twig, Flash messages and Monolog., (*1)
Important: this is a fork of akrabat's slim 3 skeleton, this fork uses king23/di-interop instead of pimple., (*2)
You can read more about this fork in the blog post that caused it, (*3)
$ composer create-project -n -s dev ppetermann/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/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 pageSimple Slim Framework 3 skeleton with Twig & Monolog.
BSD-3-Clause
skeleton slim-framework