A handful of helper components and for Laravel
composer require binarycabin/laravel-toolbelt
If using spatie/laravel-permission and binarycabin/options, you can auto create your default roles using the command:
php artisan init:roles
Note you should also have use HasRoles;
set on your User Model, and an array of options ready at \App\Options\Role;
Create a new user via cl using
php artisan make:user
If using spatie/laravel-permission you can set a role for this user via:
php artisan make:user --role=admin
@component('toolbelt::components.panel',['title'=>'Panel Title'])
Panel Body Content
@endcomponent
(coming soon)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.