Download the PHP package sockstack/repository without Composer
On this page you can find all versions of the php package sockstack/repository. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sockstack/repository
More information about sockstack/repository
Files in sockstack/repository
Download sockstack/repository
More information about sockstack/repository
Files in sockstack/repository
Vendor sockstack
Package repository
Short Description laravel extension for generating repository layer
License MIT
Package repository
Short Description laravel extension for generating repository layer
License MIT
Please rate this library. Is it a good library?
Informations about the package repository
简介
在使用 laravel 的时候,被 laravel 强大所震撼,在开发 laravel 项目的是经常会用到 artisan 命令,真的怎么用怎么丝滑,特别是创建 Controller 或者 Model 的时候,实在太方便了,但是在公司中,经常会遇到的问题就是,项目会抽象出 Service、 Repository 层等等,有没有办法可以像 artisan 命令一样丝滑的创建呢?于是就开发了该 Composer 扩展包。
安装
使用
- 案例一
在 app/Repositories
目录下生成 UserRepository.php
的文件,内容如下:
- 案例二
在 app/Repositories/User
目录下生成 UserRepository.php
的文件,内容如下:
All versions of repository with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
>=5.0
The package sockstack/repository contains the following files
Loading the files please wait ....