vluzrmos/lumen-url-host
A fixer for console and tests using Lumen Url Generator.
844
5
Larablocks Analysis
vluzrmos/lumen-url-host works with any PHP project: the latest release (v0.0.3, Jul 11, 2015) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Jul 11, 2015)
- 1 downloads a month (needs 10,000)
- 5 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Jul 11, 2015.
- No releases in the last 12 months.
- First released: Jul 11, 2015.
- Monthly downloads: 1.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.
| 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.
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
Version History
| Version | Released | License |
|---|---|---|
| v0.0.3 | MIT | |
| v0.0.2 | MIT | |
| v0.0.1 | MIT |