Registry / web-framework / hautelook-templated-uri-bundle

hautelook-templated-uri-bundle

JSON →
library3.5.0phppackagistunverified

Symfony2 Bundle that provides a RFC-6570 compatible router and URL Generator.

composer require hautelook/templated-uri-bundle
INSTALL
IMPORT
SIG · HAUTELOOK-TEMPLATE
H
hautelook-templated-uri-bundle
web-frameworkphpv3.5.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.

TemplatedUriRouter
use Hautelook\TemplatedUriBundle\Router\TemplatedUriRouter;

Generate a templated URI using RFC 6570.

<?php use Hautelook\TemplatedUriBundle\Router\TemplatedUriRouter; $router = new TemplatedUriRouter($container->get('router')); $url = $router->generate('route_name', ['id' => 123]);
Debug
Known issues
breakingRequires Symfony 2.x; not compatible with Symfony 4+.
fix
Use the core Symfony routing or a maintained bundle.
affects: >=3.0.0
Upgrade
Version history
3.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hautelook-templated-uri-bundle — pip install hautelook-templated-uri-bundle · libregistry