friendsofsymfony/jsrouting-bundle
A pretty nice way to expose your Symfony routing to client applications.
Package info
github.com/FriendsOfSymfony/FOSJsRoutingBundle
Type:symfony-bundle
pkg:composer/friendsofsymfony/jsrouting-bundle
Requires
- php: ^8.0
- symfony/console: ^5.4|^6.4|^7.3|^8.0
- symfony/deprecation-contracts: ^2.1|^3.0
- symfony/framework-bundle: ^5.4|^6.4|^7.3|^8.0
- symfony/serializer: ^5.4|^6.4|^7.3|^8.0
- willdurand/jsonp-callback-validator: ~1.1|^2.0
Requires (Dev)
- jakoch/phantomjs-installer: ^3
- neronmoon/scriptsdev: ^0.1
- symfony/expression-language: ^5.4|^6.4|^7.3|^8.0
- symfony/phpunit-bridge: ^7.3|^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT c8af953b1a305e9d8d201f489023dc4ba6be053d
- William Durand <will+git.woop@drnd.me>
- FriendsOfSymfony Community
This package is auto-updated.
Last update: 2026-06-04 22:31:23 UTC
README
👁 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
