承接 mkhaled-mu/api-crud-generator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

mkhaled-mu/api-crud-generator

最新稳定版本:v2.0.0

Composer 安装命令:

composer require mkhaled-mu/api-crud-generator

包简介

README 文档

README

API CRUD Generator is a Laravel package designed to automate the creation of API CRUD (Create, Read, Update, Delete) operations for specified models. This package generates all necessary components, such as models, controllers, request validation, API resources, migration files, and updates the API routes automatically.

Features

  • Model Generation: Automatically creates a model with fillable attributes.
  • Controller Generation: Creates an API resource controller with all CRUD methods (index, show, store, update, delete).
  • Request Validation Generation: Generates a request class with validation rules based on provided fields.
  • Migration Generation: Creates a migration file for database table creation.
  • API Resource Generation: Generates a resource class for transforming model instances in API responses.
  • Route Registration: Automatically appends API routes to the routes/api.php file.

Requirements

  • Laravel 11
  • PHP 8.2 or higher

Installation

Step 1: Install the Package

Use Composer to install the package:

composer require mkhaled-mu/api-crud-generator

php artisan make:crud name
e.g
php artisan make:crud Comment 

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-09-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固