dainsys/livewire-generator

Livewire files generators

0.3.6 2021-07-04 13:58 UTC

This package is auto-updated.

Last update: 2024-06-04 20:12:56 UTC


README

A livewire CRUD Generator for tailwind and bootstrap 4!

Installation

  • Install with composer by runining the command composer require dainsys/livewire-generator --dev

Ussage

  • Run artisan command php artisan make:livewire-crud or php 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.