{"id":19755806,"url":"https://github.com/ptheofan/yii2-urlrule","last_synced_at":"2026-05-14T15:33:33.561Z","repository":{"id":22602546,"uuid":"25944654","full_name":"ptheofan/yii2-urlrule","owner":"ptheofan","description":"An enhanced UrlRule class for Yii2 UrlManager","archived":false,"fork":false,"pushed_at":"2014-10-29T22:50:05.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T09:10:12.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ptheofan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-29T22:39:47.000Z","updated_at":"2014-10-29T22:46:19.000Z","dependencies_parsed_at":"2022-08-21T07:31:16.965Z","dependency_job_id":null,"html_url":"https://github.com/ptheofan/yii2-urlrule","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ptheofan/yii2-urlrule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptheofan%2Fyii2-urlrule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptheofan%2Fyii2-urlrule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptheofan%2Fyii2-urlrule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptheofan%2Fyii2-urlrule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptheofan","download_url":"https://codeload.github.com/ptheofan/yii2-urlrule/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptheofan%2Fyii2-urlrule/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285809054,"owners_count":27235102,"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","status":"online","status_checked_at":"2025-11-22T02:00:05.934Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12T03:13:24.992Z","updated_at":"2025-11-22T15:03:43.274Z","avatar_url":"https://github.com/ptheofan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"UrlRule\n=================\nAn enhanced UrlRule for Yii2 UrlManager component.\n\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --prefer-dist ptheofan/yii2-urlrule \"*\"\n```\n\nor add\n\n```\n\"ptheofan/yii2-urlrule\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\n\nUsage\n-----\n\nTODO: write usage examples.\nIn short, extend the /ptheofan/urlrule/UrlRule and override the getParamValue and the setParamValue. The rest\nworks exactly the same as the default UrlRule. With this approach you can write rules that still use all\nof the default nice stuff like regexs, etc. and make them super flexible and also support named arguments\nthat work with Database, etc. Also by extending your own routes you can easily create partial url rules,\nvery helpful to remove code duplication and make maintenance easier.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptheofan%2Fyii2-urlrule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptheofan%2Fyii2-urlrule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptheofan%2Fyii2-urlrule/lists"}