{"id":19306226,"url":"https://github.com/akshaykhale1992/php-template","last_synced_at":"2026-05-18T00:04:47.404Z","repository":{"id":101898152,"uuid":"254148825","full_name":"akshaykhale1992/php-template","owner":"akshaykhale1992","description":"A simple PHP Template project to build your next big application or your hobby project.","archived":false,"fork":false,"pushed_at":"2020-04-08T17:57:00.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T19:34:10.388Z","etag":null,"topics":["php-boilerplate","php-template","php7"],"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/akshaykhale1992.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,"zenodo":null}},"created_at":"2020-04-08T16:57:13.000Z","updated_at":"2022-03-18T21:23:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"b76159c3-82f6-4344-bfdb-0b72f28f833d","html_url":"https://github.com/akshaykhale1992/php-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akshaykhale1992/php-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaykhale1992%2Fphp-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaykhale1992%2Fphp-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaykhale1992%2Fphp-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaykhale1992%2Fphp-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akshaykhale1992","download_url":"https://codeload.github.com/akshaykhale1992/php-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaykhale1992%2Fphp-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"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-boilerplate","php-template","php7"],"created_at":"2024-11-10T00:04:58.185Z","updated_at":"2026-05-18T00:04:47.399Z","avatar_url":"https://github.com/akshaykhale1992.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Template\n\nA simple PHP Template Project with boilerplate code to start with\n\n# Folder structure\n    - bootstrap\n        - app.php: Library loader which autoloads and set-ups all the used Packages\n    - controllers\n        - HomeController.php: A sample Controller file\n    - public\n        - index.php: The hosted file.\n    - .env.example: Sample environment file\n    - .gitignore\n    - LICENCE\n    - README.md\n    - composer.json: Composer file with all dependencies\n    - composer.lock\n    - helpers.php: Helper library which is autoloaded in composer.json file\n    - routes.php: File which contains all the routes for the application\n\n# Dependencies used :package:\n- [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv)\n    - For loading Environment settings from a .env file in Project root directory.\n- [nikic/FastRoute](https://github.com/nikic/FastRoute)\n    - Router used in the Application.\n\n# How to get started :rocket:\n    composer install # Installing dependencies\n    cp ./.env.example ./.env # Creating environment file\n    cd ./public \u0026\u0026 php -S localhost:8001 # Hosting the application on port 8001\n\nVisit: [http://localhost:8001](http://localhost:8001) to se it in action.\n\n# How do I use it??? :thinking:\n1. Add the route in routes.php, refer to sample route for help.\n2. Add the method in controllers/HomeController or you can create your own controller file in the same folder.\n3. Navigate to your route.\n\n# Why this project??? :thinking:\nThis project started as a simple minimal PHP boilerplate to get started with a PHP project. A project which will provide you basic routing and environment settings with basic folder structure like an open canvas giving you freedom to add any dependencies that you may require and even change the folder structure as you please. No restriction a simple template for your PHP project.\n\n# Courtesy :heart:\n- [nikic](https://github.com/nikic/FastRoute)\n- [vlucas](https://github.com/vlucas)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshaykhale1992%2Fphp-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakshaykhale1992%2Fphp-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshaykhale1992%2Fphp-template/lists"}