定制 tomosia/laravel-easy-crud 二次开发

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

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

tomosia/laravel-easy-crud

最新稳定版本:v1.0.3

Composer 安装命令:

composer require tomosia/laravel-easy-crud

包简介

Give commands to help programmers save time when coding

README 文档

README

A package for adding php artisan make:api-crud command to Laravel 8+ and Laravel Module

Auto generate:

  • Controller
  • Service
  • Repository
  • Request
  • Resource
  • Api Document using l5-swagger

Installation

Require the package with composer using the following command:

composer require tomosia/laravel-easy-crud --dev

Or add the following to your composer.json's require-dev section and composer update

"require-dev": {
          "tomosia/laravel-easy-crud": "^1.*"
}

In your config/app.php add VietNH\LaraEasyDev\RepositoryServiceProvider::class to the end of the providers array:

'providers' => [
    ...
    VietNH\LaraEasyDev\RepositoryServiceProvider::class,
],

Publish Configuration

php artisan vendor:publish --provider "VietNH\LaraEasyDev\RepositoryServiceProvider"

Usage

####All file:

php artisan make:api-crud {model} {--module=}

Example:

php artisan make:api-crud User --module=Api

####Each file:

php artisan make:controller {model} {module}

php artisan make:service {model} {module}

php artisan make:repository {model} {module}

php artisan make:request {model} {module}

php artisan make:response {model} {module}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-08-24