galax13a / crud
Scaffold Livewire Components, migrations, factory and crud in one command based on database tables.
Requires
- php: ^7|^8
- laravel/framework: >9.19
- laravel/ui: ^4
- livewire/livewire: ^2
README
Modificado por Cristhian Ryu / DEV
A livewire CRUD Generation package to help scaffold basic site files. Package is autoloaded as per PSR-4 autoloading in any laravel version ^5.6
so no extra config required. However is has been tested on version ^7 & ^8 ~9 ~10
. It uses auth middleware thus installs laravel/ui
just incase you don't have any other auth mechanism, this does not mean you have to use laravel/ui
.
Documentation >> Starcho V1.0.2
More detailed documentation can ne found at : livewire v2
composer require livewire/livewire:^2.12
Installation StarchoCRUD
You can install the package via Composer:
composer require galax13a/crud
Otros Paquetes Usados
cybercog/laravel-ban
composer require cybercog/laravel-ban
laravel/folio
composer require laravel/folio
laravel/socialite
composer require laravel/socialite
Usage
After running composer require galax13a/crud
command just run:
php artisan crud:install
**This command will perfom below actions:
* Compile css/js based on `bootstrap and bootstrap-icons`.
* Run `npm install && run build`
* Flush *node_modules* files from your folder.
If you choose to scaffold authentication this command will run php artisan ui:auth
to generate Auth scaffolds using laravel/ui
package. You can skip this step if your app has authentication already.
Then generate Crud by:
php artisan crud:generate {table-name}
**This command will generate:
* Livewire Component.
* Model.
* Views.
* Factory.
**Remember to customise your genertaed factories and migrations if you need to use them later
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email george@flightsadmin.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.