usmonaliyev/repository-pattern
最新稳定版本:1.2.3
Composer 安装命令:
composer require usmonaliyev/repository-pattern
包简介
README 文档
README
This repository helps to you that create interface, create repository class in laravel projects.
Installation
Install this package with composer
composer require --dev usmonaliyev/repository-pattern
Using
php artisan create:pattern Foo
This command creates FooInterface in App/Interfaces folder.
It creates FooRepository in App/Repositories which is implemented FooInterface.
It inserts $this->app->singleton(FooInterface::class, FooRepository::class); to boot function of App/Providers/AppServiceProvider.php
Authors
统计信息
- 总下载量: 1.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-08