larafun/filters
Composer 安装命令:
composer require larafun/filters
包简介
Use Filters instead of Requests in your Laravel projects to be more versatile.
README 文档
README
Use Filters instead of Requests in your Laravel projects to be more versatile.
Check out the full documentation in here larafun-filters.readthedocs.io
Installation
Requires PHP > 7.0, Laravel > 5.5
composer require larafun/filters
Basic Usage
Just make your Filters extend Larafun\Filters\Filter
Why use this package?
Because its safer to not bind your Services to the Request.
You may want to use your Services on environments other than http.
class BookController extends Controller { // ... public function index(BookFilter $filter) { return $bookServices->search($filter); }
统计信息
- 总下载量: 159
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-13