定制 medjadji/laravel-repository-interface 二次开发

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

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

medjadji/laravel-repository-interface

最新稳定版本:1.0.0

Composer 安装命令:

composer require medjadji/laravel-repository-interface

包简介

This package is intended to create a Command to create a repository and an Interface at the same time

README 文档

README

This package is intended to create a Command to create a repository and an Interface

Installation

You can install the package via composer for latest version

$ composer require medjadji/laravel-repository-interface

How To Use

# Create a repository with interface at The Same Time
$ php artisan make:repository-interface Auth/User Auth/User 

┌── apps
├─ └─ Repositories
├─ └──── Auth
├─ └─────── UserRepository.php
├─ └─ Interface
├─ └──── Auth
├─ └─────── UserInterface.php
├─ bootstrap
├─ config
├─ database
├─ public
├─ resources
├─ routs
├─ storage
├─ tests
├─ vendor
├─ .env.example
├─ artisan
├─ composer.json
├─ package.json
└── README.md

# Create a interface 
$ php artisan make:interface Company/Apply
# Create a repository 
$ php artisan make:repository Company/Apply

┌── apps
├─ └─ Repositories
├─ └──── Company
├─ └─────── ApplyRepository.php
├─ └─ Interface
├─ └──── Company
├─ └─────── ApplyInterface.php
├─ bootstrap
├─ config
├─ database
├─ public
├─ resources
├─ routs
├─ storage
├─ tests
├─ vendor
├─ .env.example
├─ artisan
├─ composer.json
├─ package.json
└── README.md

统计信息

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

GitHub 信息

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

其他信息

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