SpiffyNavigation is a navigation module for ZF2 intended to replace the out-of-date Zend\Navigation.
- PHP 5.3 or higher
- Zend Framework 2
Installation of SpiffyNavigation uses composer. For composer documentation, please refer to getcomposer.org.
-
cd my/project/directory
-
create a
composer.json
file with following contents:{ "require": { "spiffy/spiffy-navigation": "dev-master" } }
-
install composer via
curl -s http://getcomposer.org/installer | php
(on windows, download http://getcomposer.org/installer and execute it with PHP) -
run
php composer.phar install
-
open
my/project/directory/configs/application.config.php
and add the following key to yourmodules
:'SpiffyNavigation',