coolhax/bootstrap-laravel-crud-generator
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
coolhax/bootstrap-laravel-crud-generator 适用场景与选型建议
coolhax/bootstrap-laravel-crud-generator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 247 次下载、GitHub Stars 达 3, 最近一次更新时间为 2023 年 09 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「bootstrap」 「crud」 「laravel」 「crud generator」 「laravel package」 「laravel crud generator」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 coolhax/bootstrap-laravel-crud-generator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 coolhax/bootstrap-laravel-crud-generator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 coolhax/bootstrap-laravel-crud-generator 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Gii Generator for double model generation
A PSR-7 compatible library for making CRUD API endpoints
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
Admin panel generator for Laravel 8 and based on Vuetify Admin, a separate SPA admin framework running on top of REST APIs.
Collection of tools to use the full power of the Enyalius framework
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 247
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-25