定制 ajtarragona/laravel-crud-generator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ajtarragona/laravel-crud-generator

Composer 安装命令:

composer require ajtarragona/laravel-crud-generator

包简介

Laravel Crud Generator

README 文档

README

#Laravel Crud Generator

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.

  • Will create Model with Eloquent relations
  • Will create Controller with all resources
  • Will create views in Bootstrap

Requirements

Laravel >= 5.5
PHP >= 7.1

Installation

1 - Install

composer require ajtarragona/crud-generator --dev

2- Publish the default package's config

php artisan vendor:publish --tag=crud

Usage

//Makes a model from table name
php artisan crud:model {table_name}

//Makes crud from model
php artisan crud:make {model_name}

Add a route in web.php

Route::resource('banks', 'BankController');

Route name in plural slug case.

Options

  • Custom Route
php artisan make:crud {table_name} --route={route_name}

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 149
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-04