{"id":37012084,"url":"https://github.com/cutplane1/u-router","last_synced_at":"2026-01-14T01:02:57.298Z","repository":{"id":177908252,"uuid":"661076555","full_name":"cutplane1/u-router","owner":"cutplane1","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-06T15:21:12.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-27T13:56:33.278Z","etag":null,"topics":["php-library","php-router","php-routing","router","zero-dependency"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"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/cutplane1.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-07-01T18:01:10.000Z","updated_at":"2025-01-06T15:21:16.000Z","dependencies_parsed_at":"2023-12-18T15:31:52.834Z","dependency_job_id":"ca215ba9-3ce0-486e-8428-02692a9b798d","html_url":"https://github.com/cutplane1/u-router","commit_stats":null,"previous_names":["cutplane1/urouter"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/cutplane1/u-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutplane1%2Fu-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutplane1%2Fu-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutplane1%2Fu-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutplane1%2Fu-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cutplane1","download_url":"https://codeload.github.com/cutplane1/u-router/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutplane1%2Fu-router/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["php-library","php-router","php-routing","router","zero-dependency"],"created_at":"2026-01-14T01:02:56.433Z","updated_at":"2026-01-14T01:02:57.274Z","avatar_url":"https://github.com/cutplane1.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# u-router\n\n```php\n\u003c?php\n\nrequire \"vendor/autoload.php\";\n\n$router = new Cutplane1\\URouter();\n\n$router-\u003enot_found(function() {\n    http_response_code(404);\n    echo \"\u003ch1\u003e404 Not Found\u003c/h1\u003e\";\n});\n\n$router-\u003emiddleware(function() {\n    header('Content-Type: application/json; charset=utf-8');\n});\n\n$router-\u003eget(\"/\", function() {\n    echo json_encode([\"hello\" =\u003e \"world\"]);\n});\n\n$router-\u003eget(\"/\u003cint\u003e\", function($id) {\n    echo json_encode([\"id\" =\u003e $id]);\n});\n\n$router-\u003edispatch();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutplane1%2Fu-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcutplane1%2Fu-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutplane1%2Fu-router/lists"}