notabenedev/staff-types
最新稳定版本:v0.0.19
Composer 安装命令:
composer require notabenedev/staff-types
包简介
Add types to staff package
README 文档
README
php artisan vendor:publish --provider="Notabenedev\StaffTypes\StaffTypesServiceProvider" --tag=config
Install
php artisan vendor:publish --provider="Notabenedev\StaffTypes\StaffTypesServiceProvider" --tag=public --force
php artisan migrate
php artisan make:staff-types
{--all : Run all}
{--models : Export models}
{--policies : Export and fill policies}
{--controllers : Export controllers}
init admin vue component
npm run dev
Admin vue component
Vue3
import ParamsComponent from './components/vendor/staff-types/ParamsComponent.vue'
app.component('staff-params',ParamsComponent);
Vue2
php artisan make:staff-types --vue
Add params to Employee
use ShouldParams;
AjaxFormSubmission to Contact's email
use ShouldStaffOfferEmail;
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-02