open-soft-app / back-end-generator
Back-end generator: crud generator, Livewire components, scaffold migrations, factory, menu in one command based on database tables
Requires
- php: ^8.1.0
- jantinnerezo/livewire-alert: ^3.0
- laravel/breeze: *
- livewire/livewire: *
- rappasoft/laravel-livewire-tables: *
- wire-elements/modal: ^2.0
- wireui/wireui: ^1.0
README
A livewire CRUD Generation package to help scaffold basic site files. Package is autoloaded as per PSR-4 autoloading in any laravel version ^11.0
so no extra config required. It uses auth middleware thus installs breeze
just incase you don't have any other auth mechanism.
Documentation
More detailed documentation can ne found at back-end-generator
Installation
You can install the package via Composer:
composer require open-soft-app/back-end-generator --dev
Usage
After running composer require open-soft-app/back-end-generator
command just run:
php artisan crud:install
**This command will perfom below actions:
* Compile css/js based on `tailwind and fontawesome/free`.
* Run `npm install && run dev`
* Flush *node_modules* files from you folder.
Then generate Crud by:
php artisan crud:generate {table-name}
**This command will generate:
* Livewire Component.
* Migration (soon).
* Model.
* Views.
* Menu (soon).
* Factory.
**Remember to customise your generated factories if you need to use them later
License
The MIT License (MIT). Please see License File for more information.