Download the PHP package webware/webware-navigation without Composer
On this page you can find all versions of the php package webware/webware-navigation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webware/webware-navigation
More information about webware/webware-navigation
Files in webware/webware-navigation
Package webware-navigation
Short Description ACL-aware navigation middleware, container, and Laminas view helper for webware-* packages
License BSD-3-Clause
Informations about the package webware-navigation
webware-navigation
ACL-aware navigation trees for Mezzio, driven by Route::setOptions().
Documentation
| Document | Contents |
|---|---|
| Overview | Goals, quick start, route options reference |
| Architecture | Design decisions and rationale |
| Component Reference | API docs for every class |
| Extending | Custom renderers, planned RendererPluginManager |
| Testing | Unit test examples and guidance |
Installation
Private package — not published to Packagist. Consume via a VCS repository entry:
After each change run composer update webware/webware-navigation (the lock
pins the commit hash).
Note: the package types against Webware\Acl\AclInterface and
Webware\UserManager\UserInterface, which the consuming application provides
until webware-acl + webware-usermanager publish — see
docs/webware-tools-alignment.md.
Add to config/config.php:
That registers the middleware factory and the navigation view helper. The
middleware itself is not piped for you: add it to config/pipeline.php
after RouteMiddleware and before DispatchMiddleware, so that RouteResult
is on the request by the time it runs:
The package deliberately does not self-register through Mezzio's
middleware_pipeline config. That mechanism orders middleware by an integer
priority, and this middleware's correctness depends on running after
RouteMiddleware and before DispatchMiddleware, an ordering such a priority
cannot express safely. See Architecture, Decision 7.
Namespace
All versions of webware-navigation with dependencies
laminas/laminas-view Version ^3.0
mezzio/mezzio-router Version ^3.15 || ^4.0
psr/container Version ^2.0
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
webware/webware-core Version ^1.0.0-alpha.6