vluzrmos/lumen-url-host
最新稳定版本:v0.0.3
Composer 安装命令:
composer require vluzrmos/lumen-url-host
包简介
A fixer for console and tests using Lumen Url Generator.
README 文档
README
A fixer to Lumen Url Generator.
What is it for?
When running tests or console commands which needs some urls by default that will be
http://:/foo instead of your desired hostname and port.
Install
composer require vluzrmos/lumen-url-host
Usage
Run 1 time:
lumenUrlHost('your-disered.domain:port');
Note: By default, lumen will cache the hostname and port at first call. That will works only if was called before first generated url.
I recommend to use on setUp() method of your tests, or in your bootstrap/app.php.
统计信息
- 总下载量: 830
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-11