{"id":24358732,"url":"https://github.com/dayitv89/base_php","last_synced_at":"2026-05-21T13:08:31.178Z","repository":{"id":94401434,"uuid":"103409317","full_name":"dayitv89/base_php","owner":"dayitv89","description":"basic routing and code structured template in core php. Good for POC, small projects.","archived":false,"fork":false,"pushed_at":"2017-10-09T20:15:36.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T00:04:13.597Z","etag":null,"topics":["php","php-framework","routing-engine"],"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/dayitv89.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-13T14:21:36.000Z","updated_at":"2017-11-02T17:07:09.000Z","dependencies_parsed_at":"2023-04-06T15:36:19.779Z","dependency_job_id":null,"html_url":"https://github.com/dayitv89/base_php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dayitv89/base_php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Fbase_php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Fbase_php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Fbase_php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Fbase_php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dayitv89","download_url":"https://codeload.github.com/dayitv89/base_php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayitv89%2Fbase_php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33301619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"ssl_error","status_checked_at":"2026-05-21T12:22:11.673Z","response_time":62,"last_error":"SSL_read: 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","php-framework","routing-engine"],"created_at":"2025-01-18T20:22:01.732Z","updated_at":"2026-05-21T13:08:31.134Z","avatar_url":"https://github.com/dayitv89.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base routing in core php\n![version](https://img.shields.io/badge/version-0.0.1-green.svg) ![version](https://img.shields.io/badge/language-php-blue.svg)\n\n### Routes `.htaccess` contains\n```\nRewriteEngine On\nRewriteBase /base_php/codes\nRewriteCond $1 !^(index\\.php|public|res|robots\\.txt)\nRewriteRule ^(.*)$ index.php?_path_=$1 [L,QSA]\n\nErrorDocument 404 /index.php?_error_=404.php\nErrorDocument 500 /index.php?_error_=500.php\n```\n\n`RewriteBase /base_php`, where `base_php/codes` is the root dir like `[http://localhost/base_php/codes](http://localhost/base_php/codes)`.\nIf Root like `[http://localhost/](http://localhost/)`, write `RewriteBase /`,\n\n\n### Architecture\n- `public` and `res` folder and subfolders are ignored in path.\n- Other all path are pass by CGI to the `index.php`, routes are defined at `routes.php`\n- All config variables available at `config.php`\n- Error page available at `error` folder, server errors reports as `ErrorDocument 404 /index.php?_error_=404.php` in `.htaccess`. or other error report as `redirectError` at `route_logic.php`.\n- Write all logic inside `src` folder.\n\n### Feedbacks\n- I love to hear your valuable feedbacks, suggestions \u0026 issues. Please raise a issue on the repo or email me (as subject: 'base_php#issue \u0026lt;topic\u0026gt;') @ `er.gauravds@gmail.com`.\n\n❤️ Voila! Happy coding...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayitv89%2Fbase_php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdayitv89%2Fbase_php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayitv89%2Fbase_php/lists"}