sagor110090/livewire-crud
Composer 安装命令:
composer require sagor110090/livewire-crud
包简介
Scaffold Livewire Components, migrations, factory and crud in one command based on database tables
README 文档
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. However is has been tested on version ^10.0. 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 livewire-crud
Installation
You can install the package via Composer:
composer require sagor110090/livewire-crud --dev
Usage
After running composer require sagor110090/livewire-crud command just run:
php artisan crud:install
**This command will perfom below actions:
* Compile css/js based on `bootstrap 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.
* Model.
* Views.
* Factory.
**Remember to customise your genertaed factories and migrations if you need to use them later
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 327
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-14