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.

Installs: 462

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:symfony-bundle

v1.0 2016-09-12 19:20 UTC

This package is not auto-updated.

Last update: 2020-10-16 21:48:24 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

  1. add to composer.json:
"litvinab/cli-router": "v1.0"
  1. add to AppKernel.php:
new Litvinab\Bundle\CliRouterBundle\CliRouterBundle()
  1. add to parameters.yml:
  app.domain: example.com