albertcht/lumen-helpers
最新稳定版本:v0.8
Composer 安装命令:
composer require albertcht/lumen-helpers
包简介
To support Laravel 's unsupported features in Lumen.
README 文档
README
Description
It can be used for improving implementation compatibility, assuming that you are planning to migrate from Lumen to Laravel in the future.
Session is not included in this package.
Installation
If composer is used, it can be introduced by adding the following description.
composer require albertcht/lumen-helpers
How to use
This package currently provides the following helper functions.
- mix
- abort_if
- abort_unless
- action
- app_path
- asset
- auth
- back
- bcrypt
- cache
- request
- logger
- method_field
- mix
- policy
- public_path
- config_path
- report
- validator
- cookie
It will return
Symfony\Component\HttpFoundation\Cookiedirectly. - app_with
An app () compatible helper corresponding to makeWith call. illuminate/container: From 5.4, you can not pass $parameters to make, instead makeWith prepared, By using app_with, make can be done by passing parameters that ask Lumen, illuminate / container version.
统计信息
- 总下载量: 31.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 30
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-31