zendframework/zend-router
Flexible HTTP router for Zend Framework, supporting literal/segment/regex paths, scheme, method, and hostname matching, with fast tree-based route combinations. Note: repository abandoned 2019-12-31; moved to laminas/laminas-router.
RouterInterface#factory() return typeZend\Router\Http\Placeholder, which can be used within reusable
modules to indicate a route with child routes where the root route may be
overridden. By default, the Placeholder route always matches, passing on
further matching to the defined child routes.Wildcard URL assembly works. Previously, it would
attempt to rawurlencode() all values provided to the method as merged with any default values.
It now properly skips any non-scalar values when assembling the URL path. This fixes an issue
discovered when providing an array of middleware as a middleware default route parameter.First release as standalone package in its own namespace. This is the first version that will be used with zend-mvc v3; see its migration document for details on how to update existing routing to this version.
In particular, the Zend\Mvc\Router namespace was renamed to Zend\Router.
ConfigProvider, which is an invokable class that returns dependency configuration for the component; in particular, this will be useful for zend-expressive-zendrouter.Module class, for use with zend-mvc + zend-modulemanager. It provides dependency configuration for the component when used in that context.ConfigProvider and Module, to allow auto-registration with the application.Zend\Router\RouteInvokableFactory, which provides a custom "invokable" factory for routes that uses the route class' factory() method for instantiation.Zend\Router\RoutePluginManagerFactory, for creating a RoutePluginManager instance.Zend\Router\Http\HttpRouterFactory, for returning a TreeRouteStack instance.Zend\Router\RouterFactory, which essentially proxies to Zend\Router\Http\HttpRouterFactory.Query route, as it had been deprecated starting with version 2.3.How can I help you explore Laravel packages today?