dainsys / livewire-generator
Livewire files generators
0.3.6
2021-07-04 13:58 UTC
Requires
- php: >=7.0
- illuminate/console: ^7.0||^8.0
- illuminate/filesystem: ^7.0||^8.0
- illuminate/support: ^7.0||^8.0
- livewire/livewire: ^2.0
Requires (Dev)
- mockery/mockery: ^1.4.2
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3.3
README
A livewire CRUD Generator for tailwind and bootstrap 4!
Installation
- Install with
composer
by runining the commandcomposer require dainsys/livewire-generator --dev
Ussage
- Run artisan command
php artisan make:livewire-crud
orphp artisan livewire-crud:make
. This command requires the model name to be associated to the crud. - If you are using bootstrap and jquery as your front end, run the command with the
--preset=bootstrap
option. - If your models live in a different folder than
App\Models
you can pass that directory route with the option--models-dir=App
. - Use the
--force
option to override any existing file.