k-msalehi/laravel-ez-crud 问题修复 & 功能扩展

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

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

k-msalehi/laravel-ez-crud

最新稳定版本:v1.0.0

Composer 安装命令:

composer require k-msalehi/laravel-ez-crud

包简介

Simple CRUD generator for your laravel application

README 文档

README

ez-crud forked from mehradsadeghi/laravel-crud-generator.
Thank you mehradsadeghi for your efforts.

What's changed

Now you can add --views option to create related views,
e.g. php artisan make:crud UserController --model=User --views
Created view files are based on bootstrap 5

By defualt, view files extend from layouts.app; To customize them you can use
php artisan vendor:publish --provider="KMsalehi\LaravelEzCrud\EzCrudServiceProvider"

Laravel EzCrud

Generate a CRUD scaffold like a breeze.

Compatible with Laravel 7.x 8.x 9.x 10.x.

Installation

$ composer require k-msalehi/laravel-ez-crud --dev

Usage

It works based on your $fillable property of the target model.

If you would like to use $guarded instead of $fillable, It is supported too. In that case you'll need to have an existing Schema (table), Then the crud generator will automatically figures out your fillables.

As an example when $fillable is available:

$ php artisan make:crud UserController --model=User --validation

laravel-crud-generator

Customizing Stubs

You can modify default stubs by publishing them:

$ php artisan crud:publish

The published stubs will be located within stubs/crud directory in the root of your application. Any changes you make to these stubs will be reflected when you generate crud.

Your Stars Matter ⭐️

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-01