litvinab / cli-router
There is no license information available for the latest version (v1.0) of this package.
Bundle fixes router URL generation when it used via CLI.
v1.0
2016-09-12 19:20 UTC
Requires
- php: >=5.5
- symfony/framework-bundle: ~2.1
This package is not auto-updated.
Last update: 2026-03-01 03:42:45 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