vluzrmos/lumen-url-host

A fixer for console and tests using Lumen Url Generator.
832 5
Install
composer require vluzrmos/lumen-url-host
Latest Version:v0.0.3
License:MIT
Last Updated:Jul 11, 2015
Links: GitHub  ·  Packagist
Maintainer: vluzrmos

Lumen Url Host Fixer.

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.

Related Packages

mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

19,628,193 1,980
kyslik/column-sortable

Package for handling column sorting in Laravel 6.x

6,060,441 647
mews/captcha

Laravel 5/6/7/8/9/10/11/12 Captcha Package

5,938,643 2,580
ajthinking/archetype

Programmatically edit PHP and Laravel files.

4,032,551 272