Developed with love by KnpLabs Hire us for your project!
762

FOSJsRoutingBundle

by FriendsOfSymfony

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

FOSJsRoutingBundle

Build<br>
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:

Resources/doc/

Read the
documentation

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
Copyright (c) 2011 FriendsOfSymfony

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
fos_js_routing:
serializer: ~
routes_to_expose: []
router: router
request_context_base_url: ~
cache_control:
public: false
expires: ~
maxage: ~
smaxage: ~
vary: []
  • Merge branch '1.x'
    By stof, 2 years ago
  • Marked HHVM as officially supported
    By stof, 2 years ago
  • Switch to the faster Docker-based infrastructure
    By stof, 2 years ago
  • Merge pull request #182 from weaverryan/patch-release
    By stof, 2 years ago
  • Fix the testsuite
    By stof, 2 years ago
  • Switch the autoloading to use PSR-4
    By stof, 2 years ago
  • Simplified the Travis configuration
    By stof, 2 years ago
  • Fixed the RouterDebugExposedCommand for Symfony 2.6
    By weaverryan, 2 years ago
  • Fixed the link to the closure library in JS tests
    By weaverryan, 2 years ago
  • Merge pull request #175 from cordoval/adding-some-tags-to-markup
    By willdurand, 2 years ago
  • adding-some-tags-to-markup
    By cordoval, 2 years ago
  • Merge pull request #172 from weaverryan/patch-1
    By willdurand, 2 years ago
  • Removing old line that was for previous composer code
    By weaverryan, 2 years ago
  • Merge pull request #168 from javiereguiluz/update_installation_instructions
    By willdurand, 2 years ago
  • Updated installation instructions
    By javiereguiluz, 2 years ago
  • Merge pull request #163 from rdohms/patch-1
    By willdurand, 2 years ago
  • Update index.md
    By rdohms, 2 years ago
  • Fixed the link to the closure library in JS tests
    By stof, 3 years ago
  • Fixed the RouterDebugExposedCommand for Symfony 2.6
    By stof, 3 years ago
  • Merge pull request #145 from K-Phoen/inject-locale
    By willdurand, 3 years ago
  • Inject the `locale` parameter automatically
    By K-Phoen, 3 years ago
  • Marked HHVM as officially supported
    By stof, 3 years ago
  • Fixed the BC layer for the route condition
    By stof, 3 years ago
  • Merge pull request #143 from FriendsOfSymfony/test_router_alias
    By stof, 3 years ago
  • Fixed a typo in the Travis configuration
    By stof, 3 years ago
  • Simplified the Travis configuration
    By stof, 3 years ago
  • Added tests for the router alias
    By stof, 3 years ago
  • Merge pull request #142 from dbu/configure-router
    By stof, 3 years ago
  • allow to configure router service name. fix #141
    By dbu, 3 years ago
  • Merge pull request #129 from FriendsOfSymfony/fix-121
    By willdurand, 3 years ago