{"id":15023206,"url":"https://github.com/dacurse/p","last_synced_at":"2026-02-01T18:32:54.482Z","repository":{"id":107767986,"uuid":"441739701","full_name":"DaCurse/p","owner":"DaCurse","description":"Yet another PHP Microframework.","archived":false,"fork":false,"pushed_at":"2021-12-25T19:54:10.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T17:56:27.334Z","etag":null,"topics":["microframework","php","php-5","php-framework"],"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/DaCurse.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-25T18:50:37.000Z","updated_at":"2023-03-08T21:33:55.000Z","dependencies_parsed_at":"2023-03-11T18:00:26.506Z","dependency_job_id":null,"html_url":"https://github.com/DaCurse/p","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaCurse%2Fp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaCurse%2Fp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaCurse%2Fp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaCurse%2Fp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaCurse","download_url":"https://codeload.github.com/DaCurse/p/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318758,"owners_count":20272144,"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":["microframework","php","php-5","php-framework"],"created_at":"2024-09-24T19:58:50.126Z","updated_at":"2026-02-01T18:32:54.448Z","avatar_url":"https://github.com/DaCurse.png","language":"PHP","readme":"# ρ\n\nYet another PHP Microframework.\n\nThe premise of this framework is to be backwards-compatible (PHP \u003c= 5.6) with powerful utilities (Like caching and\nlogging) and sensible defaults.\n\n## Routes\n\nUnlike other PHP frameworks, which have you define routes using classes and controllers, ρ has a more intuitive\napproach, using files and directories to create routes:\n\n```\nroutes\n├─ $name.php\n└─ index.php\n```\n\nYour route directory is your root (`/`), `index.php` would match requests to `/` or `/index`. Routes starting with a `$`\nare parameterized routes, basically serving as a fallback route, with access to the path that was requested. You can\ncreate nested parameterized routes (For multiple parameters) by separating parameters with a `.`:\n\n```\nroutes\n└─ $forumId.$postId.php\n```\n\nA request to `/foo/bar` will fall back to `$forumId.$postId.php` and you'll get access to both parameters as `forumId`\nand `postId` respectfully.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacurse%2Fp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdacurse%2Fp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacurse%2Fp/lists"}