A pretty nice way to expose your Symfony2 routing to client applications.
PHP JavaScript HTML
Pull request Compare This branch is 4 commits behind FriendsOfSymfony:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Command
Controller
DependencyInjection
Extractor
Resources
Response
Serializer
Tests
Util
.gitignore
.travis.yml
CONTRIBUTING.md
FOSJsRoutingBundle.php
README.md
composer.json
phpunit.xml.dist

README.md

FOSJsRoutingBundle

Build Status

This bundle allows you to expose your routing in your JavaScript code. That means you'll be able to generate URL with given parameters like you can do with the Router component provided in the Symfony2 core.

This is a port of the symfony 1.x plugin: chCmsExposeRoutingPlugin.

Documentation

For documentation, see:

https://symfony.com/doc/master/bundles/FOSJsRoutingBundle/index.html

Contributing

See CONTRIBUTING file.

Original Credits

  • William DURAND as main author.
  • Julien MUETTON (Carpe Hora) for the inspiration.

License

This bundle is released under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE