friendsofsymfony/jsrouting-bundle

A pretty nice way to expose your Symfony routing to client applications.

Maintainers

Package info

github.com/FriendsOfSymfony/FOSJsRoutingBundle

Homepage

Type:symfony-bundle

pkg:composer/friendsofsymfony/jsrouting-bundle

Statistics

Installs: 52 945 107

Dependents: 295

Suggesters: 9

Stars: 1 502

Open Issues: 60

3.6.1 2025-11-04 21:03 UTC

README

Build Status

Join the chat at https://gitter.im/FOSJsRoutingBundle/Lobby

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: Resources/doc/index.rst.

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