All Projects → joselfonseca → Laravel Api

joselfonseca / Laravel Api

Licence: mit
Laravel API starter Kit will provide you with the tools for making API's that everyone will love

Projects that are alternatives of or similar to Laravel Api

Es6 Express Mongoose Passport Rest Api
Lightweight boilerplate for Node RESTful API, ES6, Express, Mongoose and Passport 🎁
Stars: ✭ 36 (-89.22%)
Mutual labels:  api, passport
Satis Server
🐳 Private, self-hosted Composer/Satis repository with unlimited private and open-source packages and support for Git, Mercurial, and Subversion. HTTP API, HTTPs support, webhook handler, scheduled builds, Slack and HipChat integration.
Stars: ✭ 96 (-71.26%)
Mutual labels:  api, composer
Laravel Blade Javascript
A Blade directive to export variables to JavaScript
Stars: ✭ 485 (+45.21%)
Mutual labels:  api, blade
Dog Ceo Api
The API hosted at dog.ceo
Stars: ✭ 393 (+17.66%)
Mutual labels:  api, composer
Lad
👦 Lad is the best Node.js framework. Made by a former Express TC and Koa team member.
Stars: ✭ 2,112 (+532.34%)
Mutual labels:  api, passport
Novagram
An Object-Oriented PHP library for Telegram Bots
Stars: ✭ 112 (-66.47%)
Mutual labels:  api, composer
Lara Eye
Filter your Query\Builder using a structured query language
Stars: ✭ 39 (-88.32%)
Mutual labels:  api, composer
selene
A opinionated Wordpress base theme based on Sage.
Stars: ✭ 31 (-90.72%)
Mutual labels:  composer, blade
Roastapp
Laravel学院 Roast 应用源码
Stars: ✭ 164 (-50.9%)
Mutual labels:  api, passport
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (-56.29%)
Mutual labels:  api, passport
Alidayu
阿里大于(鱼)API接口-SDK
Stars: ✭ 186 (-44.31%)
Mutual labels:  api, composer
Jianshu
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
Stars: ✭ 296 (-11.38%)
Mutual labels:  api, passport
Api
HeadHunter API: документация и библиотеки
Stars: ✭ 324 (-2.99%)
Mutual labels:  api
Seat
🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager
Stars: ✭ 324 (-2.99%)
Mutual labels:  api
Blinkid Ios
Everything you need to add AI-driven ID scanning into your native iOS app.
Stars: ✭ 325 (-2.69%)
Mutual labels:  passport
Laravel Api Query Builder
Laravel & Lumen Api Query Builder Package
Stars: ✭ 324 (-2.99%)
Mutual labels:  api
Comet
Modern PHP framework for building blazing fast REST APIs, CRUDs and microservices
Stars: ✭ 328 (-1.8%)
Mutual labels:  api
Ccxt
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
Stars: ✭ 22,501 (+6636.83%)
Mutual labels:  api
Qq Music Api
QQ 音乐API koa2实现
Stars: ✭ 320 (-4.19%)
Mutual labels:  api
Awps
A Modern WordPress Starter Theme for savvy Developers
Stars: ✭ 319 (-4.49%)
Mutual labels:  composer

Laravel API Starter Kit

Total Downloads License

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.

Here is a list of the packages installed:

Installation

To install the project you can use composer

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

Modify the .env file to suit your needs

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

php artisan migrate

Then run php artisan passport:install

Run php artisan db:seed and you should have a new user with the roles and permissions set up

Tests

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

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

composer api-docs

License

The Laravel API Starter kit is open-sourced software licensed under the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].