limatheus/livewire-crud
最新稳定版本:v1.0.4
Composer 安装命令:
composer require limatheus/livewire-crud
包简介
Generate Basic Crud Operations With Livewire and Tailwind Css For Laravel
关键字:
README 文档
README
Live Crud Generator. This package generates Basic Crud with Livewire.
Features
- Generate Complete Crud With Livewire Component and Blade Files
- Create / Update / Delete Functional
- Real Time Validation Already Added
- Fuzzy Search Functional
Installation
Via Composer
composer require limatheus/livewire-crud
Prerequisites
- Models should be in
app/Modelsdirectory - Crud of only $fillable property will be generated
protected $fillable = ['name','username'];
Usage
php artisan crud:make Name_Of_Your_Model
- This Command Will Generate Two Files
- First Will be in
app/HttpLivewire - Second Will be in
resources/views/Livewire
- First Will be in
For Bootstrap 4
-
Publish config and change
template = 'bootstrap' -
Please copy this script and paste in your layout just after @livewireScripts tag
<script type="text/javascript"> window.livewire.on('showConfirmDelete', () => { $('#deleteModal').modal('show'); }); window.livewire.on('hideConfirmDelete', () => { $('#deleteModal').modal('hide'); }); window.livewire.on('showForm', () => { $('#showForm').modal('show'); }); window.livewire.on('hideForm', () => { $('#showForm').modal('hide'); }); </script>
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-07
