Registry / web-framework / jms-i18n-routing-bundle

jms-i18n-routing-bundle

JSON →
library3.1.0phppackagistunverified

This bundle allows you to create i18n routes in Symfony applications with support for multiple languages.

composer require jms/i18n-routing-bundle
INSTALL
IMPORT
SIG · JMS-I18N-ROUTING-B
J
jms-i18n-routing-bundle
web-frameworkphpv3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

I18nRouter
use JMS\I18nRoutingBundle\Router\I18nRouter;

Generate a localized route URL.

use JMS\I18nRoutingBundle\Router\I18nRouter; $router = new I18nRouter($container->get('router'), ['en', 'fr']); $url = $router->generate('route_name', ['_locale' => 'fr']);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jms-i18n-routing-bundle — pip install jms-i18n-routing-bundle · libregistry