php crud 代码生成器,一个 Laravel CRUD 代码生成器

Laravel CRUD Generator

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b61676973742d76312e312e322d677265656e2e7376673f7374796c653d666c61742d73717561726568747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e63652d4d49542d677265656e2e7376673f7374796c653d666c61742d73717561726568747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374796c6543492d706173732d677265656e2e7376673f7374796c653d666c61742d737175617265

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 ibex/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

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

Route name in plural slug case.

Options

Custom Route

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

Example

Model 6afcb2bbcc38e93bf399f873bd2b2228.png

Controller 66f3f7300aab7554039bbba3c3e25783.png

Listing 0ea71d837c6fbd3fdd01370fee798031.png

Form 8da44d694391a28f9656b05bc28561d5.png

Author

M Awais // Email Me

68747470733a2f2f7777772e6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值