定制 naowas/crud-generator 二次开发

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

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

naowas/crud-generator

最新稳定版本:v1.0.0-alpha

Composer 安装命令:

composer require naowas/crud-generator

包简介

Simple Laravel Crud Generator

README 文档

README

A simple Laravel package for generating CRUD for your Laravel Applications. This package provides a convenient way to generate the boilerplate code necessary for complete CRUD functionality.

Requirements

Laravel >= 9.0
PHP >= 8.0

Installation

Require this package in your Laravel project using composer:

composer require naowas/crud-generator

Once installed, publish the stubs/views using php artisan vendor:publish artisan command:

php artisan vendor:publish --provider="Naowas\CrudGenerator\CrudGeneratorServiceProvider"

Usage

This package offers a single Artisan command to generate CRUD components for a specific model:

php artisan generate:crud YourModelName

The command will generate:

  1. Model
  2. Controller
  3. FromRequest
  4. Migration
  5. View (index,create,update,show)

_Please note that you'll need to customize the migration file to define the database columns according to your specific business requirements._

统计信息

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

GitHub 信息

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

其他信息

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