project slim3-skeleton
Simple Slim Framework 3 skeleton with Twig & Monolog.
musaid/slim3-skeleton
Simple Slim Framework 3 skeleton with Twig & Monolog.
- Wednesday, December 23, 2015
- by musaid
- Repository
- 1 Watchers
- 0 Stars
- 24 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Slim 3 Skeleton
This is a simple skeleton project for Slim 3 that includes Twig, Flash messages and Monolog [Original Author: Rob Allen (https://github.com/akrabat)]., (*1)
Create your project:
$ composer create-project -n -s stable musaid/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 code
-
app/src
: All class files within the App
namespace
-
app/templates
: Twig template files
-
cache/twig
: Twig's Autocreated cache files
-
log
: Log files
-
public
: Webserver root
-
vendor
: Composer dependencies
Key files
-
public/index.php
: Entry point to application
-
app/settings.php
: Configuration
-
app/dependencies.php
: Services for Pimple
-
app/middleware.php
: Application middleware
-
app/routes.php
: All application routes are here
-
app/src/Action/HomeAction.php
: Action class for the home page
-
app/templates/home.twig
: Twig template file for the home page
dev-master
9999999-dev
Simple Slim Framework 3 skeleton with Twig & Monolog.
Sources
Download
BSD-3-Clause
The Requires
skeleton
slim-framework
0.1.0
0.1.0.0
Simple Slim Framework 3 skeleton with Twig & Monolog.
Sources
Download
BSD-3-Clause
The Requires
skeleton
slim-framework