{"id":37003419,"url":"https://github.com/bernardarhia/routee","last_synced_at":"2026-01-14T00:33:23.362Z","repository":{"id":50435594,"uuid":"502778630","full_name":"bernardarhia/routee","owner":"bernardarhia","description":"A lightweight php routing library for writing fullstack applications, backend apis etc. It comes with  speed and was inspired by how laravel handles it routing services in the framework","archived":false,"fork":false,"pushed_at":"2022-08-19T19:10:00.000Z","size":88,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T22:15:42.295Z","etag":null,"topics":["cms","csrf-protection","http","lightweight","php","router","routing","url-handler"],"latest_commit_sha":null,"homepage":"","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/bernardarhia.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":"2022-06-13T02:17:02.000Z","updated_at":"2022-09-18T06:47:26.000Z","dependencies_parsed_at":"2022-08-12T21:20:36.124Z","dependency_job_id":null,"html_url":"https://github.com/bernardarhia/routee","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bernardarhia/routee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardarhia%2Froutee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardarhia%2Froutee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardarhia%2Froutee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardarhia%2Froutee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bernardarhia","download_url":"https://codeload.github.com/bernardarhia/routee/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardarhia%2Froutee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","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":["cms","csrf-protection","http","lightweight","php","router","routing","url-handler"],"created_at":"2026-01-14T00:33:21.974Z","updated_at":"2026-01-14T00:33:23.343Z","avatar_url":"https://github.com/bernardarhia.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Routee\n\nA lightweight php routing service for writing fullstack applications in PHP. \n\n# Notice\n\nMake sure you are using php version \u003e= 8.0.1\n\n# Installation\n\n```sh\ncomposer require bernard-arhia/routee\n```\n# Example\n\n## A simple route service\n\nindex.php\n\n```php\nuse Http\\Router;\nrequire_once  __DIR__  .  \"/vendor/autoload.php\";\n\n$router  =  new  Router;\n$router-\u003eget(\"/\", function(){\necho  \"Hello world\";\n});\n\n$router-\u003erun();\n```\nNow open the terminal and start your php web server\n```sh\nphp -S localhost:9000\n```\nThis will start the php server on port 9000\n In your browser open http://localhost:9000 to preview the example\n![A screenshot](https://res.cloudinary.com/everich1/image/upload/v1655166918/routee/Screenshot_97_xhenc1.png)\n\nThe Route accepts the following http request methods\n* GET ($router-\u003eget())\n* POST ($router-\u003epost())\n* PUT ($router-\u003eput())\n* DELETE ($router-\u003edelete())\n* PATCH ($router-\u003epatch())\n\u003c!-- * HEAD\n* OPTIONS --\u003e\n\nThe router accepts basically the following parameters\n* ***(string)*** **$path**: the path of the route\n* ***(method)*** **$callback**: the callback function to be executed when the route is matched (You can also pass in a class method)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernardarhia%2Froutee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbernardarhia%2Froutee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernardarhia%2Froutee/lists"}