binarycabin/laravel-toolbelt
最新稳定版本:1.0.1
Composer 安装命令:
composer require binarycabin/laravel-toolbelt
包简介
A handful of helper components and for Laravel
关键字:
README 文档
README
A handful of helper components and for Laravel
Installation
composer require binarycabin/laravel-toolbelt
Usage
Commands
init:roles
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;
make:user
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
Components:
Panels
@component('toolbelt::components.panel',['title'=>'Panel Title'])
Panel Body Content
@endcomponent
Tables
(coming soon)
Contributing
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.
License
统计信息
- 总下载量: 225
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-03-09