Boilerplate for getting started with Slim Framework
Use this skeleton application to quickly setup and start working on a new Slim Framework 3 application. This application uses the latest Slim 3.
- PHP 5.5 or newer
- PDO PHP Extension
- PHP View
- Twig Template Engine
- Eloquent Laravel
- Sentinel Authentication provider
- Include SDK Facebook
- Logger Monolog
- AdminLTE soon
You can manually install by cloning this repo or download the zip file from this repo, and run composer install
.
$ git clone https://github.com/zhiephie/boilerplate-slim3.git
$ composer install
$ composer create-project --no-interaction --stability=dev zhiephie/boilerplate-slim3 [folder-name]
After composer finished install the dependencies, you need to change file and folder permission.
$ chmod -R 777 storage
$ chmod 666 config/database.php
Configuration file located in config
, edit the database.php, setting.php
$ php migrate
$ php -S localhost:8000 -t public