litvinab / cli-router
Bundle fixes router URL generation when it used via CLI.
Installs: 467
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/litvinab/cli-router
Requires
- php: >=5.5
- symfony/framework-bundle: ~2.1
This package is not auto-updated.
Last update: 2025-10-26 01:42:41 UTC
README
During using of generate method of router via CLI wrong URLs are generated. Instead of your application domain localhost is found.
This bundle fixes URL generation by using DependencyInjection Compiler.
Installation
- add to composer.json:
"litvinab/cli-router": "v1.0"
- add to AppKernel.php:
new Litvinab\Bundle\CliRouterBundle\CliRouterBundle()
- add to parameters.yml:
app.domain: example.com