{"id":19234525,"url":"https://github.com/phpmentors-jp/proxy-url-rewrite-bundle","last_synced_at":"2025-04-21T05:31:00.783Z","repository":{"id":20235482,"uuid":"23507473","full_name":"phpmentors-jp/proxy-url-rewrite-bundle","owner":"phpmentors-jp","description":"A Symfony bundle to rewrite URLs for applications behind reverse proxies","archived":false,"fork":false,"pushed_at":"2022-07-19T01:19:32.000Z","size":93,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T09:52:38.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/phpmentors-jp/proxy-url-rewrite-bundle/wiki","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":"2014-08-31T05:51:24.000Z","updated_at":"2024-05-22T09:08:34.000Z","dependencies_parsed_at":"2022-07-22T10:32:16.611Z","dependency_job_id":null,"html_url":"https://github.com/phpmentors-jp/proxy-url-rewrite-bundle","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmentors-jp%2Fproxy-url-rewrite-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmentors-jp%2Fproxy-url-rewrite-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmentors-jp%2Fproxy-url-rewrite-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmentors-jp%2Fproxy-url-rewrite-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpmentors-jp","download_url":"https://codeload.github.com/phpmentors-jp/proxy-url-rewrite-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250002163,"owners_count":21359062,"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":[],"created_at":"2024-11-09T16:14:11.840Z","updated_at":"2025-04-21T05:31:00.526Z","avatar_url":"https://github.com/phpmentors-jp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProxyURLRewriteBundle\n\nA Symfony bundle to rewrite URLs for applications behind reverse proxies\n\n[![Total Downloads](https://poser.pugx.org/phpmentors/proxy-url-rewrite-bundle/downloads.png)](https://packagist.org/packages/phpmentors/proxy-url-rewrite-bundle)\n[![Latest Stable Version](https://poser.pugx.org/phpmentors/proxy-url-rewrite-bundle/v/stable.png)](https://packagist.org/packages/phpmentors/proxy-url-rewrite-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/phpmentors/proxy-url-rewrite-bundle/v/unstable.png)](https://packagist.org/packages/phpmentors/proxy-url-rewrite-bundle)\n[![Build Status](https://travis-ci.org/phpmentors-jp/proxy-url-rewrite-bundle.svg?branch=master)](https://travis-ci.org/phpmentors-jp/proxy-url-rewrite-bundle)\n\n## Features\n\n* URL rewriting for [Controller::generateUrl()](http://symfony.com/doc/current/quick_tour/the_controller.html#redirecting-and-forwarding) in controllers\n* URL rewriting for [{{ asset('...') }}](http://symfony.com/doc/current/book/templating.html#linking-to-assets) in Twig templates\n\n## Installation\n\nProxyURLRewriteBundle can be installed using [Composer](http://getcomposer.org/).\n\nFirst, add the dependency to `phpmentors/proxy-url-rewrite-bundle` into your `composer.json` file as the following:\n\nStable version:\n\n```\ncomposer require phpmentors/proxy-url-rewrite-bundle \"1.3.*\"\n```\n\nDevelopment version:\n\n```\ncomposer require phpmentors/proxy-url-rewrite-bundle \"~1.4@dev\"\n```\n\nSecond, add `PHPMentorsProxyURLRewriteBundle` into your bundles to register in `AppKernel::registerBundles()` as the following:\n\n```php\n...\n\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = array(\n            ...\n            new PHPMentors\\ProxyURLRewriteBundle\\PHPMentorsProxyURLRewriteBundle(),\n        );\n        ...\n```\n\n## Configuration\n\n`app/config/config.yml`:\n\n```yaml\n...\nphpmentors_proxy_url_rewrite:\n    proxy_urls:\n        foo_bar:\n            path: \"!^.*!\"\n            proxy_url: \"http://www.example.com/foo/bar\"\n```\n\n`app/config/config_dev.yml`:\n\n```yaml\n...\nphpmentors_proxy_url_rewrite:\n    enabled: false\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/proxy-url-rewrite-bundle/issues).\n\n## Copyright\n\nCopyright (c) 2014-2016, 2018-2019 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%2Fproxy-url-rewrite-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpmentors-jp%2Fproxy-url-rewrite-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmentors-jp%2Fproxy-url-rewrite-bundle/lists"}