| Package Data | |
|---|---|
| Maintainer Username: | vluzrmos |
| Maintainer Contact: | vluzrmos@gmail.com (Vagner do Carmo) |
| Package Create Date: | 2015-07-11 |
| Package Last Update: | 2015-07-11 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-27 03:09:57 |
| Package Statistics | |
|---|---|
| Total Downloads: | 829 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 5 |
| Total Watchers: | 3 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
A fixer to Lumen Url Generator.
When running tests or console commands which needs some urls by default that will be
http://:/foo instead of your desired hostname and port.
composer require vluzrmos/lumen-url-host
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.