{"id":25076481,"url":"https://github.com/gopibabus/php-restapi-app","last_synced_at":"2026-05-02T03:32:58.454Z","repository":{"id":47240789,"uuid":"206693891","full_name":"gopibabus/php-restapi-app","owner":"gopibabus","description":"Restful web services using simple vanilla functional PHP.","archived":false,"fork":false,"pushed_at":"2021-09-07T10:07:17.000Z","size":3707,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T22:44:03.271Z","etag":null,"topics":["mysql","php","rest-api","sql"],"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/gopibabus.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}},"created_at":"2019-09-06T02:10:59.000Z","updated_at":"2022-03-22T03:47:35.000Z","dependencies_parsed_at":"2022-08-29T14:11:07.296Z","dependency_job_id":null,"html_url":"https://github.com/gopibabus/php-restapi-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gopibabus/php-restapi-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopibabus%2Fphp-restapi-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopibabus%2Fphp-restapi-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopibabus%2Fphp-restapi-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopibabus%2Fphp-restapi-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gopibabus","download_url":"https://codeload.github.com/gopibabus/php-restapi-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopibabus%2Fphp-restapi-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["mysql","php","rest-api","sql"],"created_at":"2025-02-07T01:39:51.438Z","updated_at":"2026-05-02T03:32:58.435Z","avatar_url":"https://github.com/gopibabus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![REST API-PHP](./images/banner.png)\n\n\u003e This project focuses on implementing Restful web services using simple **vanilla PHP**.\n\n## Scenario\n\n- Build a task list system that will allow users to log in and create, update and delete tasks.\n- Each user’s tasks will be private to them and other users will not be able to view them.\n- We are responsible for database backend, the web services and Authentication module.\n- We are not responsible for the front end or the server setup.\n\n## API Requirements - Tasks\n\n- Return JSON response for all APIs and allow caching where appropriate\n- A task should have an ID, title, description, deadline date, completion status\n- Return a list of details for all tasks for a user using a URL of: **/tasks**\n- Return a list of details for all tasks for a user with pagination using a URL of : **/tasks/page/{:page}**\n- Return a list of details for all tasks for a single task for a user using a URL of : **/tasks/{:taskid}**\n- Return a list of details for all incomplete tasks for a user using URL of: **/tasks/incomplete**\n- Return a list of details for all complete tasks for a user using URL of: **/tasks/complete**\n- Delete a task for a user using URL of: **/tasks/{:taskid}**\n- Update title, description, deadline date or completion status and return updated task using a URL of : **/tasks/{:taskid}**\n- Create a task and return the details for the new task using a URL of : **/tasks**\n\n## API Requirements - Authentication\n\n- Return a JSON response for all APIs\n- A user has an ID, full name, unique username, hashed password, user active status and login attempts\n- A user can login in on more than one device and should not logout a previous device **(Sessions)**\n- Create a new user using URL of : **/users**\n- Login a user using a URL of : **/sessions**\n- Logout a user using a URL of : **/sessions/{:sessionid}**\n- Limited lifetime of a session access token, refreshed using a URL of : **/sessions/{:sessionid}**\n\n[What is RESTful API](./REFERENCE.md)\n\n## ✈TODO\n\n- [ ] Add CORS (Cross-Origin Resource Sharing).\n- [ ] Amending the API to allow you to upload files (images).\n- [ ] Convert functional parts of the project into to OOPs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopibabus%2Fphp-restapi-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgopibabus%2Fphp-restapi-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopibabus%2Fphp-restapi-app/lists"}