notabenedev/staff-types

Add types to staff package

v0.0.6 2025-07-29 11:47 UTC

This package is auto-updated.

Last update: 2025-07-29 11:48:22 UTC


README

php artisan vendor:publish --provider="Notabenedev\StaffTypes\StaffTypesServiceProvider" --tag=config

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

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