kun391 / larest-starter-kit
The boilerplate to build the RESTful api application.
Package info
github.com/kun391/larest-starter-kit
Type:project
pkg:composer/kun391/larest-starter-kit
0.1.0
2019-04-14 08:08 UTC
Requires
- php: ^7.1.3
- doctrine/dbal: ^2.7
- fideloper/proxy: ^4.0
- intervention/image: ^2.4
- laravel/framework: 5.6.*
- laravel/socialite: ^3.0
- laravel/tinker: ^1.0
- tymon/jwt-auth: ^1.0.0
- zizaco/entrust: ^1.8
Requires (Dev)
- filp/whoops: ^2.0
- fzaninotto/faker: ^1.4
- kun391/x2-repository: ^2.7.1
- mockery/mockery: ^1.0
- nunomaduro/collision: ^2.0
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2026-06-08 22:42:38 UTC
README
Requirement
PHP >=7.0
MYSQL >=5.6
INSTALL
- Please make sure your packages is latest
$ composer install
$ php -r "file_exists('.env') || copy('.env.example', '.env');"
$ php artisan key:generate
$ php artisan migrate --seed
$ php artisan serve --host=0.0.0.0 --port=9000
Admin user
- Email: admin@example.com
- Password: 123123
Request life-cycle
- It run from 1 to 8
1. routes/api
2. app/Http/Requests
3. app/Http/Controllers
4. app/Repositories/Eloquent
5. app/Presenters
6. app/Transformers
7. app/Http/Controllers
8. response