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