laraviet / laravel-starter
The Laravel Framework.
Installs: 51
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 2
Open Issues: 0
Language:JavaScript
Type:project
Requires
- php: >=5.6.4
- laravel/framework: 5.3.*
- tymon/jwt-auth: ^0.5.9
- yab/crudmaker: dev-bugfix
- yab/laracogs: dev-bugfix
Requires (Dev)
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~5.0
- symfony/css-selector: 3.1.*
- symfony/dom-crawler: 3.1.*
README
- tymon/jwt-auth
- trthanhbk/Laracogs
- thephpleague/fractal
Introduction
This is starter kit to include some functions out of the box:
- Admin dashboard with AdminLTE theme
- User / Roles / Permission
- Team CRUD
- Login / Register / Forgot password ...
Stater Steps
composer create-project laraviet/laravel-starter {project-name} --prefer-dist
- Create new db and update .env file
php artisan migrate
php artisan db:seed
npm install
gulp
- default admin login:
admin@admin.com / admin
CRUD
php artisan crudmaker:new Tag --api --ui=bootstrap --migration --schema="id:increments,name:string"
- Edit
routes/web.php
-> Default is bottom position -> Move block of routing for new resource for applying middleware if needed - Edit
app/Models/Tag.php
—> add validation rule - Edit
app/Transfomers/TagTransformer.php
—> update transformer layer for API - Edit
resources/views/dashboard/panel.blade.php
—> add tag to side menu php artisan migrate
- Test script will be made at
tests
folder, make sure to pass all test scripts to verify the functions
Theme
- Support AdminLTE theme out of the box
- Edit .env file to apply theme
To do
[ ] Try relationship
[x] Fix test case generated
[x] Add fractal
[x] Add adminlte theme
Reference
- Folk from https://laracogs.com/