Download the PHP package vanushwashere/laravel-api-boilerplate-starter without Composer
On this page you can find all versions of the php package vanushwashere/laravel-api-boilerplate-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vanushwashere/laravel-api-boilerplate-starter
More information about vanushwashere/laravel-api-boilerplate-starter
Files in vanushwashere/laravel-api-boilerplate-starter
Package laravel-api-boilerplate-starter
Short Description A version of francescomalatesta/laravel-api-boilerplate-jwt but without jwt
License MIT
Informations about the package laravel-api-boilerplate-starter
Laravel API Boilerplate (JWT Edition)
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:
- Dingo API - dingo/api
- Laravel-CORS barryvdh/laravel-cors
What I made is an integration of these three packages and a setup of some authentication and credentials recovery methods.
Installation
- run
composer create-project francescomalatesta/laravel-api-boilerplate-jwt myNextProject
; - have a coffee, nothing to do here;
Once the project creation procedure will be completed, run the php artisan migrate
command to install the required tables.
Cross Origin Resource Sharing
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.
Feedback
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!
All versions of laravel-api-boilerplate-starter with dependencies
laravel/framework Version 5.4.*
dingo/api Version 1.0.x@dev
barryvdh/laravel-cors Version ^0.8.2