daemswibowo / camvret
:description
Requires
- php: ^7.0
- illuminate/support: ~5
- intervention/image: ^2.4
- spatie/laravel-permission: ^2.12
- webpatser/laravel-uuid: ^3.0
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2025-03-10 21:22:09 UTC
README
This is a Laravel starter kit using VueJs and Core UI (Bootstrap Free Admin Template). Only support for Laravel ^5.5.
Installation
You can install the package via composer
composer require daemswibowo/camvret
In Laravel 5.5 the service provider will automatically get registered. Now just run this command via terminal
php artisan camvret:install
This command will publish all the important resources for you (The default file will replaced).
Install node modules
npm install
Build assets
npm run prod # For production build npm run dev # For development build npm run watch # For development build & watch source change
Read more on Laravel documentation about frontend development command.
Add role
and permission
middleware to your app/Http/Kernel.php
file in the $routeMiddleware
array section.
protected $routeMiddleware = [ // ... 'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class, 'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class, ];
Setup your database configuration then run migrate
command:
php artisan migrate --seed
And then run php artisan serve
. And login with the default user superadmin@foo.com
and password secret
Usage
All vue components are in the resources/assets/js
folder, you can add or modify the file. Enjoy!
Credits
Thank you to all this beautiful package.
License
MIT. Please see the license file for more information.