2017 © Pedro Peláez
 

package lumen-url-host

A fixer for console and tests using Lumen Url Generator.

image

vluzrmos/lumen-url-host

A fixer for console and tests using Lumen Url Generator.

  • Saturday, July 11, 2015
  • by vluzrmos
  • Repository
  • 3 Watchers
  • 5 Stars
  • 426 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 4 % Grown

The README.md

Lumen Url Host Fixer.

Latest Stable Version Total Downloads License Build Status StyleCI, (*1)

A fixer to Lumen Url Generator., (*2)

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., (*3)

Install

composer require vluzrmos/lumen-url-host

Usage

Run 1 time:, (*4)

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., (*5)

I recommend to use on setUp() method of your tests, or in your bootstrap/app.php., (*6)

The Versions

11/07 2015

dev-master

9999999-dev

A fixer for console and tests using Lumen Url Generator.

  Sources   Download

MIT

The Development Requires

11/07 2015

v0.0.3

0.0.3.0

A fixer for console and tests using Lumen Url Generator.

  Sources   Download

MIT

The Development Requires

11/07 2015

v0.0.2

0.0.2.0

A fixer for console and tests using Lumen Url Generator.

  Sources   Download

MIT

The Development Requires

11/07 2015

v0.0.1

0.0.1.0

A fixer for console and tests using Lumen Url Generator.

  Sources   Download

MIT

The Development Requires