kaysr/crud-maker 问题修复 & 功能扩展

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

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

kaysr/crud-maker

最新稳定版本:1.0.0

Composer 安装命令:

composer require kaysr/crud-maker

包简介

This package created CRUD prototype to save time

README 文档

README

A simple, customizable CRUD generator for Laravel projects.

Features

  • Generates basic CRUD structure with a single command
  • Creates Model, Migration, Controller, Service class, and Request classes
  • Supports multiple response types: View, JSON, or Inertia
  • Streamlines the process of setting up new CRUD operations in Laravel

Installation

You can install the package via composer:

composer require kaysr/crud-maker

Usage

To generate a new CRUD structure, use the following command:

php artisan make:crud {ModelName}

The command will prompt you to choose the type of response you want to return (View, JSON, or Inertia).

Generated Files

For each CRUD operation, this package generates the following files:

  1. Model
  2. Migration
  3. Controller
  4. Service class
  5. Two Request classes:
    • One for the store method
    • One for the update method

Customization

The generated files provide a basic structure and need to be filled with your specific data and logic. This allows for maximum flexibility while still saving time on initial setup.

License

MIT

About

This package was created for personal use to streamline CRUD creation in Laravel projects. So I hope that others might find it useful.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固