2017 © Pedro Peláez
 

symfony-bundle subroute

Allows child routers

image

ivan1986/subroute

Allows child routers

  • Monday, April 13, 2015
  • by ivan1986
  • Repository
  • 0 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Ivan1986SubrouteBundle

Extension for multiple rourets, (*1)

install default by composer:, (*2)

"ivan1986/subroute": "*",

Initialize the bundle:, (*3)

new Ivan1986\SubrouteBundle\SubrouteBundle(),

What It Do

Allows many routing files called for controllers For example, we have::, (*4)

/{user}/albums/{album}/list
/{user}/albums/{album}/add
/{user}/albums/{album}/delete/{id}
/{user}/albums/{album}/edit/{id}
/{user}/albums/{album}/show/{id}

A problem::, (*5)

/{user}/albums/{album}/

one for all this urls, and logic one for all urls., (*6)

Solution::, (*7)

Routing(/{user}/albums/{album}/{slug})
run Controller
continue Routing slug whis $this->get('subrouter')->route('album', 'slug');
run other Controller

The Versions

13/04 2015

dev-master

9999999-dev https://github.com/ivan1986/SubrouteBundle

Allows child routers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ivan Borzenkov

routing

01/04 2013

dev-route_override

dev-route_override https://github.com/ivan1986/SubrouteBundle

Allows child routers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ivan Borzenkov

routing