project slim3-skeleton
Simple Slim Framework 3 skeleton with Twig & Monolog.
akrabat/slim3-skeleton
Simple Slim Framework 3 skeleton with Twig & Monolog.
- Monday, August 22, 2016
- by akrabat
- Repository
- 40 Watchers
- 332 Stars
- 5,490 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 101 Forks
- 9 Open issues
- 2 Versions
- 2 % Grown
Slim 3 Skeleton
This is a simple skeleton project for Slim 3 that includes Twig, Flash messages and Monolog., (*1)
Create your project:
$ composer create-project --no-interaction --stability=dev akrabat/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
dev-remove-index-php
dev-remove-index-php
Simple Slim Framework 3 skeleton with Twig & Monolog.
Sources
Download
BSD-3-Clause
The Requires
skeleton
slim-framework