Registry / web-framework / zendframework-zend-navigation

zendframework-zend-navigation

JSON →
library2.9.1phppackagistunverified

Manage trees of pointers to web pages in order to build navigation systems.

composer require zendframework/zend-navigation
INSTALL
IMPORT
SIG · ZENDFRAMEWORK-ZEND
Z
zendframework-zend-navigation
web-frameworkphpv2.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Navigation
use Zend\Navigation\Navigation;

Creates a navigation container with two pages and finds a page by label.

<?php require_once 'vendor/autoload.php'; use Zend\Navigation\Navigation; $pages = [ ['label' => 'Home', 'uri' => '/'], ['label' => 'About', 'uri' => '/about'], ]; $navigation = new Navigation($pages); echo $navigation->findBy('label', 'Home')->getUri();
Debug
Known issues
breakingZend Framework packages are no longer maintained; consider using Laminas equivalents.
fix
Replace zendframework/zend-navigation with laminas/laminas-navigation.
affects: >=2.0.0
Upgrade
Version history
2.9.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
OpenAI (training)
1
Resources
zendframework-zend-navigation — pip install zendframework-zend-navigation · libregistry