定制 thanhnamcnv/laravel-make-repository-service 二次开发

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

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

thanhnamcnv/laravel-make-repository-service

最新稳定版本:3.8

Composer 安装命令:

composer require thanhnamcnv/laravel-make-repository-service

包简介

A simple package to create a make:repository, make:service command for Laravel 8+

README 文档

README

A package for addding php artisan make:repository, php artisan make:service command to Laravel 6+

Installation

Require the package with composer using the following command:

composer require thanhnamcnv/laravel-make-repository-service --dev

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

"require-dev": {
          "thanhnamcnv/laravel-make-repository-service": "^2.*"
}

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

'providers' => [
    ...
    NamTran\LaravelMakeRepositoryService\RepositoryServiceProvider::class,
],

Publish Configuration

php artisan vendor:publish --provider "NamTran\LaravelMakeRepositoryService\RepositoryServiceProvider"

Usage

php artisan make:repository your-repository-name

php artisan make:service your-service-name

Example:

php artisan make:repository User

php artisan make:service User

or

php artisan make:repository Backend\User

php artisan make:service Backend\User

统计信息

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

GitHub 信息

  • Stars: 27
  • Watchers: 1
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-04