vanushwashere / laravel-api-boilerplate-jwt by vanushwashere
forked from francescomalatesta/laravel-api-boilerplate-jwt

A version of francescomalatesta/laravel-api-boilerplate-jwt but without jwt
13
0
1
Package Data
Maintainer Username: vanushwashere
Package Create Date: 2017-06-03
Package Last Update: 2017-06-03
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:00:40
Package Statistics
Total Downloads: 13
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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:

What I made is an integration of these three packages and a setup of some authentication and credentials recovery methods.

Installation

  1. run composer create-project francescomalatesta/laravel-api-boilerplate-jwt myNextProject;
  2. 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!