sfVisualRoutesPlugin - 0.1.0

Display routes from the command line

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

sfVisualRoutes plugin

The sfVisualRoutesPlugin adds the project:routes task to display all available routes to the application on the console.

It is designed to help you find what routes have been created by installed plugins along with routes you have created.

Contents

This plugin contains one task: project:routes.

Installation

To install the plugin for a symfony project, the usual process is to use the symfony command line:

$ php symfony plugin-install http://plugins.symfony-project.com/sfVisualRoutesPlugin

Alternatively, if you don't have PEAR installed, you can download the latest package attached to this plugin's wiki page and extract it under your project's plugins/ directory.

View your routes:

$ php symfony project:routes frontend

Configuration

No configuration is required.

TODO

  • Display requirements regex
  • Colors?
  • Add the ability to test route matching from the command line

Changelog

2008-11-07

  • jcoby: Plugin created