Download the PHP package chris-kruining/zf3-extensions without Composer
On this page you can find all versions of the php package chris-kruining/zf3-extensions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chris-kruining/zf3-extensions
More information about chris-kruining/zf3-extensions
Files in chris-kruining/zf3-extensions
Download chris-kruining/zf3-extensions
More information about chris-kruining/zf3-extensions
Files in chris-kruining/zf3-extensions
Vendor chris-kruining
Package zf3-extensions
Short Description this is an expansion on the TreeRouteStack class that the zendframework/zend-router provides
License MIT
Homepage https://github.com/chris-kruining/zf3-extensions
Package zf3-extensions
Short Description this is an expansion on the TreeRouteStack class that the zendframework/zend-router provides
License MIT
Homepage https://github.com/chris-kruining/zf3-extensions
Keywords phpRouteStack
Please rate this library. Is it a good library?
Informations about the package zf3-extensions
zf3-extensions
this is an extension of certain zend-framework 3 packages to enable me to do certain things
Instalation
Configuration of filterable routes
To configure this zend extension all you need to do is
- set the
'router_class'
to\CPB\Extensions\Zend\Router\FilterableTreeRouteStack::class
. - supply an array to
'route_error_callback'
, this array needs at least a controller key-value, the second key you can apply is 'action' this value defaults to'error'
. - each route now has an extra config key besides
'type'
and'options'
you can now also supply'filter' => <CALLABLE>
, where<CALLABLE>
is a callable type (i.e.\Closure
,[class, method]
,'function'
)
All versions of zf3-extensions with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
chris-kruining/utilities Version master
laminas/laminas-router Version ^3
laminas/laminas-mvc Version ^3
chris-kruining/utilities Version master
laminas/laminas-router Version ^3
laminas/laminas-mvc Version ^3
The package chris-kruining/zf3-extensions contains the following files
Loading the files please wait ....