Skip to content

Bundle fixes router URL generation when it used via CLI

Notifications You must be signed in to change notification settings

litvinab/cli-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CLI Router

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

About

Bundle fixes router URL generation when it used via CLI

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages