{"id":23698362,"url":"https://github.com/ribafs/simplest-router","last_synced_at":"2025-10-09T00:21:56.993Z","repository":{"id":60640221,"uuid":"544417659","full_name":"ribafs/simplest-router","owner":"ribafs","description":"The more simple router system in PHPOO with MVC","archived":false,"fork":false,"pushed_at":"2022-10-07T10:37:57.000Z","size":275,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T13:34:02.407Z","etag":null,"topics":["bootstrap","examples","exemplos","mvc","php","phpoo","router","routing","simple","simplest"],"latest_commit_sha":null,"homepage":"https://ribafs.github.io/simplest-router","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/ribafs.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":"2022-10-02T12:30:42.000Z","updated_at":"2024-11-03T19:02:41.000Z","dependencies_parsed_at":"2022-10-02T13:40:23.524Z","dependency_job_id":null,"html_url":"https://github.com/ribafs/simplest-router","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ribafs/simplest-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribafs%2Fsimplest-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribafs%2Fsimplest-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribafs%2Fsimplest-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribafs%2Fsimplest-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ribafs","download_url":"https://codeload.github.com/ribafs/simplest-router/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribafs%2Fsimplest-router/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000720,"owners_count":26082879,"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-10-08T02:00:06.501Z","response_time":56,"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":["bootstrap","examples","exemplos","mvc","php","phpoo","router","routing","simple","simplest"],"created_at":"2024-12-30T07:16:13.291Z","updated_at":"2025-10-09T00:21:56.974Z","avatar_url":"https://github.com/ribafs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simplest Router\n\n## Click to access/Clique para acessar\n\n[*Português*](pt-BR) | [*English*](en-US)\n----------- | ----------\n\u003ca href=\"pt-BR\"\u003e\u003cimg src=\"pt.png\"\u003e | \u003ca href=\"en-US\"\u003e\u003cimg src=\"en.png\"\u003e\n\n project\n\n[https://github.com/ribafs/simplest-router](https://github.com/ribafs/simplest-router)\n\n### This routing system was created mainly from the software:\n\n- https://github.com/Izamzawi/blog-php-mvc\n- https://github.com/panique/mini3\n- https://github.com/nikic/FastRoute\n\nThis little routing system works well with PHPOO applications with MVC\n\nCapture the URL and split it into parts: controller, action and parameter\n\nhttp://localhost/application/controller/action/param\n\nExample\n\nhttp://localhost/crud-mvc/product/edit/5\n\n## Try with/Support\n\n- Windows 10\n    - Laragon - PHP 8.1\n- Linux Mint 21\n    - PHP 8.1\n- Ubuntu\n    - 22.04 - PHP 8.1\n    - 20.04 - PHP 7.4\n    - 14.04 - PHP 5.5\n- Namespace\n- Require\n- Fixed\n- MySQL/MariaDb\n- PostgreSQL\n\n## PHP 5 does not support:\n\ndeclare(strict_types = 1);\n\nNor is the syntax:\n\n$this-\u003econtroller-\u003e{$this-\u003eaction}( ...$this-\u003eparams);\n\n## Requirements\n\n- Module mod_rewrite from Apache\n\n## Extra Tips\n\n## Native PHP functions and constants for classes and objects\n\nif ( ! class_exists('App\\\\Controllers\\\\ProductController')) die('Class not found!');\n\ndie(__CLASS__);\n\nget_class($this);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fribafs%2Fsimplest-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fribafs%2Fsimplest-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fribafs%2Fsimplest-router/lists"}