The simplest way to create a custom router is to either extend Zend\Mvc\Router\SimpleRouteStack or Zend\Mvc\Router\Http\TreeRouteStack and then add your custom functionality to it.
On 02.08.2013 19:15, Philip G wrote: > How can I create custom routers in ZF2? > > Google is failing me. I found only one resource, and it seems rather > complicated: > http://www.zendexperts.com/2012/12/09/custom-routing-in-zend-framework-2/ > > I had expected some kind of build in DI or inherited way of plugging in > custom routers, similar to that of ZF1. But I can't find any documentation > on that. > > --- > Philip > g...@gpcentre.net > http://www.gpcentre.net/ > -- Ben Scholzen 'DASPRiD' Community Review Team Member | m...@dasprids.de Zend Framework | http://www.dasprids.de -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com