2017 © Pedro Peláez
 

project laravel-api

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

image

joselfonseca/laravel-api

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  • Thursday, July 26, 2018
  • by joselfonseca
  • Repository
  • 25 Watchers
  • 199 Stars
  • 1,027 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 57 Forks
  • 2 Open issues
  • 33 Versions
  • 5 % Grown

The README.md

Laravel API Starter Kit

Total Downloads License, (*1)

, (*2)

Laravel API starter Kit will provide you with the tools for making API's that everyone will love, API Authentication is already provided with passport., (*3)

Here is a list of the packages installed:, (*4)

Installation

To install the project you can use composer, (*5)

composer create-project joselfonseca/laravel-api new-api

Modify the .env file to suit your needs, (*6)

APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

MEMCACHED_HOST=127.0.0.1

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

When you have the .env with your database connection set up you can run your migrations, (*7)

php artisan migrate

Then run php artisan passport:install, (*8)

Run php artisan db:seed and you should have a new user with the roles and permissions set up, (*9)

Tests

Navigate to the project root and run vendor/bin/phpunit after installing all the composer dependencies and after the .env file was created., (*10)

API documentation

The project uses API blueprint as API spec and Aglio to render the API docs, please install aglio and merge-apib in your machine and then you can run the following command to compile and render the API docs, (*11)

composer api-docs

License

The Laravel API Starter kit is open-sourced software licensed under the MIT license, (*12)

The Versions

26/07 2018

dev-master

9999999-dev

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo dingo api

23/03 2018

5.0.1

5.0.1.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

27/02 2018

5.0.0

5.0.0.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

16/02 2018

4.0.x-dev

4.0.9999999.9999999-dev

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

16/02 2018

4.0.5

4.0.5.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

11/01 2018

dev-analysis-zDm27y

dev-analysis-zDm27y

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

28/12 2017

4.0.4

4.0.4.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

28/12 2017

4.0.3

4.0.3.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

01/12 2017

4.0.2

4.0.2.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

16/11 2017

4.0.1

4.0.1.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

25/09 2017

4.0.0

4.0.0.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

09/09 2017

3.0.x-dev

3.0.9999999.9999999-dev

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

09/09 2017

3.2.0

3.2.0.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

08/08 2017

3.1.2

3.1.2.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

03/08 2017

3.1.1

3.1.1.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

12/07 2017

3.1.0

3.1.0.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

04/07 2017

3.0.1

3.0.1.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

27/06 2017

3.0.0

3.0.0.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo api

20/04 2017

2.0.x-dev

2.0.9999999.9999999-dev

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo

20/04 2017

2.0.5

2.0.5.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo

20/04 2017

2.0.4

2.0.4.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo

07/03 2017

2.0.3

2.0.3.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo

22/02 2017

2.0.2

2.0.2.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo

17/02 2017

2.0.1

2.0.1.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo

17/02 2017

2.0.0

2.0.0.0

Laravel API starter Kit will give you most of the boilerplate that you need for creating Laravel API's

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api framework rest oauth2 dingo