cleancode-id / laravel6-api-boilerplate
A Laravel 6 (LTS) Backend API starter project kit template/boilerplate.
Installs: 335
Dependents: 0
Suggesters: 0
Security: 0
Stars: 82
Watchers: 5
Forks: 26
Open Issues: 5
Type:project
Requires
- php: ^7.2
- fideloper/proxy: ^4.0
- laravel/framework: ^6.0
- laravel/tinker: ^1.0
- tymon/jwt-auth: 1.0.0-rc.5
Requires (Dev)
- facade/ignition: ^1.4
- fzaninotto/faker: ^1.4
- mockery/mockery: ^1.0
- nunomaduro/collision: ^3.0
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-11-30 01:36:44 UTC
README
A Laravel 6 (LTS) Backend API starter project kit template/boilerplate.
Features
- Laravel 6 (latest v6.5) (Long-term support/LTS)
- Optimized for API Backend (without UI/views)
- Frontend Vue.js starter kit ready https://github.com/cleancode-id/laravel6-frontend-boilerplate
- Authentication with JWT
- Basic Features: Register, Login, Forgot Password, Update Profile & Password
- Unit & Feature Test
- Standard Coding Style & Clean Code
- Role & Permission (To Do)
- Authorization & Policies (To Do)
Installation
- Run
composer create-project --prefer-dist cleancode-id/laravel6-api-boilerplate
- Edit
.env
and set your database connection details - Run
php artisan key:generate
andphp artisan jwt:secret
- Run
php artisan migrate:fresh --seed
Usage
- Postman API Documentation Starter Kit https://documenter.getpostman.com/view/25676/SVfWN6KH
- Run Unit & Feature Test
php vendor/bin/phpunit
Credits
- Inspired from https://github.com/cretueusebiu/laravel-vue-spa