PHPackages                             axis/axis-curly-routing-plugin - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. axis/axis-curly-routing-plugin

AbandonedArchivedSymfony1-plugin[HTTP &amp; Networking](/categories/http)

axis/axis-curly-routing-plugin
==============================

This plugin introduces to symfony 1.x a new route class that uses curly braces in pattern just like Symfony2 routes

1.0.0(12y ago)21191[1 issues](https://github.com/e1himself/axis-curly-routing-plugin/issues)MITPHPPHP &gt;=5.3.0

Since Mar 11Pushed 12y ago1 watchersCompare

[ Source](https://github.com/e1himself/axis-curly-routing-plugin)[ Packagist](https://packagist.org/packages/axis/axis-curly-routing-plugin)[ Docs](https://github.com/e1himself/axis-curly-routing-plugin)[ RSS](/packages/axis-axis-curly-routing-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

AxisCurlyRouting
================

[](#axiscurlyrouting)

This plugin introduces to symfony 1.x a new route class that uses curly braces in pattern just like Symfony2 routes.

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

[](#installation)

Use [Composer](http://getcomposer.org/). Just add this dependency to your `composer.json`:

```
  "require": {
    "axis/axis-curly-routing-plugin": "dev-master"
  }
```

Usage
-----

[](#usage)

Now you can use Curly routes. Just declare routes in your `routing.yml` files with `CurlyRoute` class specified:

```
curly_route:
  url: /hello/{name}
  param: { module: test, action: sayHello }
  class: CurlyRoute
```

That's all. You can reference this route as you usually do with any symfony route.

For generating URLs:

```
