{"id":15021935,"url":"https://github.com/phpmentors-jp/route-templating-bundle","last_synced_at":"2025-07-14T04:31:28.568Z","repository":{"id":44443439,"uuid":"61006296","full_name":"phpmentors-jp/route-templating-bundle","owner":"phpmentors-jp","description":"A Symfony bundle for route templating","archived":false,"fork":false,"pushed_at":"2022-07-19T02:30:58.000Z","size":22,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-15T22:13:11.608Z","etag":null,"topics":["php","routing","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phpmentors-jp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-13T04:12:20.000Z","updated_at":"2018-10-02T08:02:25.000Z","dependencies_parsed_at":"2022-09-19T01:11:07.477Z","dependency_job_id":null,"html_url":"https://github.com/phpmentors-jp/route-templating-bundle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmentors-jp%2Froute-templating-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmentors-jp%2Froute-templating-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmentors-jp%2Froute-templating-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmentors-jp%2Froute-templating-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpmentors-jp","download_url":"https://codeload.github.com/phpmentors-jp/route-templating-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225948691,"owners_count":17550162,"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":["php","routing","symfony","symfony-bundle"],"created_at":"2024-09-24T19:57:14.253Z","updated_at":"2024-11-22T18:42:17.609Z","avatar_url":"https://github.com/phpmentors-jp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RouteTemplatingBundle\n\nA Symfony bundle for route templating\n\n[![Total Downloads](https://poser.pugx.org/phpmentors/route-templating-bundle/downloads)](https://packagist.org/packages/phpmentors/route-templating-bundle)\n[![Latest Stable Version](https://poser.pugx.org/phpmentors/route-templating-bundle/v/stable)](https://packagist.org/packages/phpmentors/route-templating-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/phpmentors/route-templating-bundle/v/unstable)](https://packagist.org/packages/phpmentors/route-templating-bundle)\n[![Build Status](https://travis-ci.com/phpmentors-jp/route-templating-bundle.svg?branch=master)](https://travis-ci.com/phpmentors-jp/route-templating-bundle)\n\n## Features\n\n* Route templating\n  * Copy all routes defined in the imported resource with the specified prefix\n\n## Installation\n\nRouteTemplatingBundle can be installed using [Composer](http://getcomposer.org/).\n\nFirst, add the dependency to `phpmentors/route-templating-bundle` into your `composer.json` file as the following:\n\n**Stable version:**\n\n```\ncomposer require phpmentors/route-templating-bundle \"1.1.*\"\n```\n\n**Development version:**\n\n```\ncomposer require phpmentors/route-templating-bundle \"~1.2@dev\"\n```\n\nSecond, add `PHPMentorsRouteTemplatingBundle` into your bundles to register in `AppKernel::registerBundles()` as the following:\n\n```php\n...\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = array(\n            ...\n            new PHPMentors\\RouteTemplatingBundle\\PHPMentorsRouteTemplatingBundle(),\n        );\n        ...\n```\n\n## Configuration\n\n`app/config/routing.yml:`\n\n```yaml\n# ...\n\nphotos:\n    resource: \"@PhotoBundle/Resources/config/routing.yml\"\n    prefix:   /photos\n\nadmin_photos:\n    resource: \"@PhotoBundle/Resources/config/routing.yml\" # Same resource as `photos`\n    prefix:   /admin/photos\n    copy_as: admin_\n```\n\n## Support\n\nIf you find a bug or have a question, or want to request a feature, create an issue or pull request for it on [Issues](https://github.com/phpmentors-jp/route-templating-bundle/issues).\n\n## Copyright\n\nCopyright (c) 2016-2018 KUBO Atsuhiro, All rights reserved.\n\n## License\n\n[The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmentors-jp%2Froute-templating-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpmentors-jp%2Froute-templating-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmentors-jp%2Froute-templating-bundle/lists"}