owllog/repo-generator
Composer 安装命令:
composer require owllog/repo-generator
包简介
This package create repository for a database model.
README 文档
README
This package use for >= laravel 5 to generate repository for a database model.
Installation:
1- cd into vendor folder.
2- use the next command in the terminal to install the package:
$ git clone https://github.com/Meklad/LaraGenRepo.git
3- type in the terminal:
$ composer dumpauotload
Or Type:
$ composer dumpautoload -o
Usage:
1- To create new repository for a database model type in the terminal:
$ php artisan make:repository <Repository Name> <Model Name>
2- To find the path to repository dirctory cd app/Repository
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-19