coolhax/bootstrap-laravel-crud-generator
最新稳定版本:v1.0.3
Composer 安装命令:
composer require coolhax/bootstrap-laravel-crud-generator
包简介
Laravel bootstrap 5 Crud Generator based on https://github.com/awais-vteams/laravel-crud-generator
README 文档
README
This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in Bootstrap for your development of your applications with single command.
This packege based on - (https://github.com/awais-vteams/laravel-crud-generator)
What Is New
-
Relationship with select in form and auto Relationship data pass in view
-
Select dropDown in form
-
Search Filter added
-
$serchable Property in Model
-
Bootstrap new Design col-md-6
-
New Feature Auto Route
-
Will create Model with Eloquent relations
-
Will create Controller with all resources
-
Will create views in Bootstrap
Requirements
Laravel >= 9.0
PHP >= 8.1
Bootstrap >= 5.0.0
Start Up
composer create-project laravel/laravel project-name
cd project-name
composer require laravel/ui
php artisan ui bootstrap --auth
npm install
npm run build
Installation
1 - Install
composer require coolhax/bootstrap-laravel-crud-generator --dev
2- Publish the default package's config
php artisan vendor:publish --tag=crud
Usage
php artisan make:crud {table_name}
php artisan make:crud banks
Add a route in web.php
- Now auto Route Feature Not Needed
Route::resource('banks', App\Http\Controlles\BankController:class);
Route name in plural slug case.
Options
- Custom Route
php artisan make:crud {table_name} --route={route_name}
Example
Author
Rohit Kumar // Email Me
统计信息
- 总下载量: 247
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-25