coolhax/bootstrap-laravel-crud-generator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Laravel Crud Generator )

Packagist Licence StyleCI

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

Model Model

Controller Controller

Listing Listing

Form Form

Author

Rohit Kumar // Email Me

统计信息

  • 总下载量: 247
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固