A PHP boilerplate based on Slim Framework, for start projects with Eloquent ORM, Validation, Auth (JWT), Repositories and Transformers ready.
You need composer and git for download and install the repository.
$ git clone https://github.com/damianopetrungaro/slim-boilerplate.git
$ php composer.phar install
Edit the .env.example
to .env
and override it with your credentials.
$ php vendor/bin/phinx migrate
All the object into the container are setted into the bootstrap/dependecies.php
file
The routes are into the app/Routes
, you can add all the .php file you want, each file will be read by slim for catch all the routes.
The exception handler is overriden into the bootstrap/dependecies.php
file.
For more details, info or bugs, just open a new issue to to repository issue tracker.
Please report any issues to repository issue tracker.