Downloads
Stars
Version
Laravel API Boilerplate is a "starter kit" you can use to build your first API in seconds. As you can easily imagine, it is built on top of the awesome Laravel Framework. This version is built on Laravel 5.4! Just for test. It is built on top of two big guys:
What I made is an integration of these three packages and a setup of some authentication and credentials recovery methods.
composer create-project francescomalatesta/laravel-api-boilerplate-jwt myNextProject
;Once the project creation procedure will be completed, run the php artisan migrate
command to install the required tables.
If you want to enable CORS for a specific route or routes group, you just have to use the cors middleware on them.
Thanks to the barryvdh/laravel-cors package, you can handle CORS easily. Just check the docs at this page for more info.
I currently made this project for personal purposes. I decided to share it here to help anyone with the same needs. If you have any feedback to improve it, feel free to make a suggestion, or open a PR!