PHPackages                             spiffy/spiffy-routes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. spiffy/spiffy-routes

AbandonedLibrary

spiffy/spiffy-routes
====================

ZF2 module that provides route annotations directly in controllers.

114.2k2[3 issues](https://github.com/spiffyjr/spiffy-routes/issues)PHP

Since Jun 18Pushed 12y ago3 watchersCompare

[ Source](https://github.com/spiffyjr/spiffy-routes)[ Packagist](https://packagist.org/packages/spiffy/spiffy-routes)[ RSS](/packages/spiffy-spiffy-routes/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SpiffyRoutes Module
===================

[](#spiffyroutes-module)

SpiffyRoutes is a module intended to make setting up routes quicker by providing annotations that can be used directly on the controllers/actions themselves. SpiffyRoutes comes feature complete with caching and a CLI tool to warm/clear the cache as required.

Project Status
--------------

[](#project-status)

[![Master Branch Build Status](https://camo.githubusercontent.com/c5d1cc88d2bec69af0e64dd4a32a541d1ca9731c38ba342989dbda40f526c4c6/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7370696666796a722f7370696666792d726f757465732e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/spiffyjr/spiffy-routes)[![Coverage Status](https://camo.githubusercontent.com/88e1e457e1e6fd85ea6fe95aaf83098acac591b11ddf858ec6a504cb3a2c0f33/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7370696666796a722f7370696666792d726f757465732f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/spiffyjr/spiffy-routes?branch=master)

Installation
------------

[](#installation)

Installation of SpiffyRoutes uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

```
php composer.phar require spiffy/spiffy-routes:dev-master
```

Then add `SpiffyRoutes` to your `config/application.config.php`

Installation without composer is not officially supported, and requires you to install and autoload the dependencies specified in the `composer.json`.

Supported Annotations
---------------------

[](#supported-annotations)

Below is a list of currently supported annotations. This list will be updated as more annotations are supported. In order to use the annotations you **must important them first**. Do this by putting the following at the top of your code,

```
