Skip to content

radnan/rdn-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RdnRouter

The RdnRouter ZF2 module provides a very simple debug utility that displays information about all your HTTP routes.

Installation

  1. Use composer to require the radnan/rdn-router package:

    $ composer require radnan/rdn-router:1.*
  2. Activate the module by including it in your application.config.php file:

    <?php
    
    return array(
        'modules' => array(
            'RdnRouter',
            // ...
        ),
    );

Usage

Define all your routes using the router.routes configuration option. Then, simply run the following command from your project root:

$ vendor/bin/console router:debug

You can also view a bit more detailed information about a single route by using the full route name as an argument:

$ vendor/bin/console router:debug foo/bar

About

Zend Framework 2 simple router debug utility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages