Slim Boilerplate REST API boilerplate built on Slim 3

Slim Boilerplate is a simple boilerplate for building PHP-based RESTful APIs using Slim 3, Eloquent ORM, JSON Web Tokens (JWT), Respect\Validation, Monolog, PHPUnit, and Phinx. It includes a user-authenticated To-Do list API as an example.

Slim Boilerplate is free and released under GPL, so download and get started today!

Last Updated: 6/14/2018

Download on GitHub

Slim 3

Slim is a popular microframework for PHP that provides all the essentials, like routing, middleware, and dependency injection.

Eloquent ORM

Eloquent ORM is a popular object-relational mapping library that provides an easy way to build database queries and manipulate data via object-oriented models.

JSON Web Tokens

JWT middleware provides easy sessions for user-authentication and guards protected API routes.

Respect\Validation

Respect\Validation library makes writing boring input validation more fun.

PHPUnit

PHPUnit comes bundled with enough unit tests to provide 100% code coverage out-of-the-box.

Phinx

Phinx allows you to write database migrations in PHP or SQL and provides easy version management of your database.

To-Do List API

An example To-Do List API comes bundles out-of-the-box to get you started quickly.

Open Source & GPL

100% open-source and distributed free under GPL.