{"id":20266379,"url":"https://github.com/pferreirafabricio/php-template-api","last_synced_at":"2026-01-25T22:26:49.625Z","repository":{"id":134794377,"uuid":"361930225","full_name":"pferreirafabricio/php-template-api","owner":"pferreirafabricio","description":"🐘 A simple PHP API structure for use in quick and small projects without frameworks ","archived":false,"fork":false,"pushed_at":"2024-11-06T17:01:38.000Z","size":96,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T11:42:12.737Z","etag":null,"topics":["docker","mysql","nginx","php","php-fpm","php8","rest-api"],"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/pferreirafabricio.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":"2021-04-27T00:20:14.000Z","updated_at":"2024-11-08T11:18:52.000Z","dependencies_parsed_at":"2023-09-11T06:15:22.017Z","dependency_job_id":null,"html_url":"https://github.com/pferreirafabricio/php-template-api","commit_stats":null,"previous_names":["pferreirafabricio/php-templateapi"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/pferreirafabricio/php-template-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pferreirafabricio%2Fphp-template-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pferreirafabricio%2Fphp-template-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pferreirafabricio%2Fphp-template-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pferreirafabricio%2Fphp-template-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pferreirafabricio","download_url":"https://codeload.github.com/pferreirafabricio/php-template-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pferreirafabricio%2Fphp-template-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28760644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T20:56:06.009Z","status":"ssl_error","status_checked_at":"2026-01-25T20:54:48.203Z","response_time":113,"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":["docker","mysql","nginx","php","php-fpm","php8","rest-api"],"created_at":"2024-11-14T12:08:57.582Z","updated_at":"2026-01-25T22:26:49.609Z","avatar_url":"https://github.com/pferreirafabricio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch5 align=\"center\"\u003e\n  \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/Webysther_20160423_-_Elephpant.svg/1280px-Webysther_20160423_-_Elephpant.svg.png\" width=\"200\" /\u003e\u003cbr\u003e\n  \u003cb\u003ePHP API structure\u003c/b\u003e 🐘\n\u003c/h5\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/badge/license-MIT-brightgreen\"\u003e\n  \u003cimg alt=\"CI Badge\" src=\"https://github.com/pferreirafabricio/php-templateApi/actions/workflows/php.yml/badge.svg\"\u003e\n\u003c/p\u003e\n\n## :open_book: About \nThis project is a simple PHP API structure for use in quick and small projects without frameworks.\n\u003cbr /\u003e\u003cbr /\u003e\n\n## :bricks: This project was built with: \n- [PHP](https://www.php.net/)\n- [CoffeCode Router](https://github.com/robsonvleite/router)\n- [MySQL](https://www.mysql.com/)\n- [Nginx](https://www.nginx.com/)\n- [Docker](https://www.docker.com/)\n\n## :running_man: Installing and Running  \n 1. Clone this repository `git clone https://github.com/pferreirafabricio/php-templateApi.git`\n 2. Enter in the project's folder: `cd php-templateApi`\n 3. Copy the .env.example file to .env: `cp .env.example .env`\n 4. Change the .env file with your configurations\n 5. Build the app image: `docker compose build app`\n 6. Start the containers: `docker compose up -d`\n 7. Install project's dependencies: `docker compose exec app composer update`\n 8. Finally you can visit [`127.0.0.1:8000/`](http://127.0.0.1:8000/) from your browser 😃\n \n## :recycle: Contribute\n 1. Fork this repository;\n 2. Create a branch with your feature: ```git checkout -b my-feature```\n 3. Commit your changes: ```git commit -m 'feat: My new feature'```\n 4. Push your branch: ```git push origin my-feature```\n \n## :page_with_curl:\tLicense\nThis project is under the MIT license. Take a look at the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpferreirafabricio%2Fphp-template-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpferreirafabricio%2Fphp-template-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpferreirafabricio%2Fphp-template-api/lists"}