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
Slim is a popular microframework for PHP that provides all the essentials, like routing, middleware, and dependency injection.
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.
JWT middleware provides easy sessions for user-authentication and guards protected API routes.
Phinx allows you to write database migrations in PHP or SQL and provides easy version management of your database.
An example To-Do List API comes bundles out-of-the-box to get you started quickly.