vluzrmos/lumen-url-host 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Stable Version Total Downloads License Build Status StyleCI

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

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-11