{"id":19647262,"url":"https://github.com/ibexa/templated-uri-bundle","last_synced_at":"2025-07-09T09:06:36.428Z","repository":{"id":45494071,"uuid":"405000999","full_name":"ibexa/templated-uri-bundle","owner":"ibexa","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-26T12:35:16.000Z","size":40,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-05-26T13:54:31.827Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibexa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-10T07:54:03.000Z","updated_at":"2025-05-26T12:35:19.000Z","dependencies_parsed_at":"2025-04-28T15:34:46.158Z","dependency_job_id":"61945d63-0575-4c61-a91e-4cc8d50f7de0","html_url":"https://github.com/ibexa/templated-uri-bundle","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ibexa/templated-uri-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Ftemplated-uri-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Ftemplated-uri-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Ftemplated-uri-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Ftemplated-uri-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibexa","download_url":"https://codeload.github.com/ibexa/templated-uri-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Ftemplated-uri-bundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262632323,"owners_count":23340212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-11-11T14:43:06.982Z","updated_at":"2025-07-09T09:06:36.369Z","avatar_url":"https://github.com/ibexa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Hautelook Templated URI Bundle\n==============================\n\nFork of `hautelook/templated-uri-bundle`. Symfony Bundle for the [https://github.com/hautelook/TemplatedUriRouter](https://github.com/hautelook/TemplatedUriRouter)\nlibrary. \n`hautelook/TemplatedUriRouter` provides a [RFC-6570](https://tools.ietf.org/html/rfc6570) compatible \nSymfony router and URL Generator.\n\n[![Build Status](https://secure.travis-ci.org/hautelook/TemplatedUriBundle.png?branch=master)](https://travis-ci.org/hautelook/TemplatedUriBundle)\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/cf31d6be-a1b8-41b5-a718-9f35660c321b/mini.png)](https://insight.sensiolabs.com/projects/cf31d6be-a1b8-41b5-a718-9f35660c321b)\n\n## Installation\n\nAssuming you have installed [composer](https://getcomposer.org/), run the following command:\n\n```bash\n$ composer require ibexa/templated-uri-bundle\n```\n\nNow add the bundle to your Kernel:\n\n```php\n\u003c?php\n// app/AppKernel.php\n\npublic function registerBundles()\n{\n    $bundles = array(\n        // ...\n        new Hautelook\\TemplatedUriBundle\\HautelookTemplatedUriBundle(),\n        // ...\n    );\n}\n```\n\nIf you are using Symfony Flex, this bundle is added automatically to your `bundles.php` file.\n\n## Usage\n\nThe bundle exposes a router service (`hautelook.router.template`) that will generate RFC-6570 compliant URLs.\nHere is a sample on how you could use it:\n\n```php\n$templateLink = $container-\u003eget('hautelook.router.template')-\u003egenerate('hautelook_demo_route',\n    array(\n        'page'   =\u003e '{page}',\n        'sort'   =\u003e array('{sort}'),\n        'filter' =\u003e array('{filter}'),\n    )\n);\n```\n\nThis will produce a link similar to:\n\n```\n/demo?{\u0026page}{\u0026sort*}{\u0026filter*}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Ftemplated-uri-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibexa%2Ftemplated-uri-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Ftemplated-uri-bundle/lists"}