{"id":18964883,"url":"https://github.com/korospace/api-tgadget","last_synced_at":"2026-04-21T09:32:21.560Z","repository":{"id":114595904,"uuid":"409790525","full_name":"korospace/api-tgadget","owner":"korospace","description":"php-mvc | php-jwt |php-mailer | mysql","archived":false,"fork":false,"pushed_at":"2023-03-17T07:09:29.000Z","size":1216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T05:55:43.645Z","etag":null,"topics":["mysql","php-jwt","php-mailer","php-mvc"],"latest_commit_sha":null,"homepage":"https://t-gadgetapi.herokuapp.com/","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/korospace.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-09-24T01:09:39.000Z","updated_at":"2023-11-29T10:33:44.000Z","dependencies_parsed_at":"2023-12-02T03:30:56.039Z","dependency_job_id":null,"html_url":"https://github.com/korospace/api-tgadget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/korospace/api-tgadget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korospace%2Fapi-tgadget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korospace%2Fapi-tgadget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korospace%2Fapi-tgadget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korospace%2Fapi-tgadget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/korospace","download_url":"https://codeload.github.com/korospace/api-tgadget/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korospace%2Fapi-tgadget/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32085460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["mysql","php-jwt","php-mailer","php-mvc"],"created_at":"2024-11-08T14:26:53.950Z","updated_at":"2026-04-21T09:32:21.502Z","avatar_url":"https://github.com/korospace.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/korospace/t-gadgetapi\"\u003e\n    \u003cimg src=\"sub-readme/api-logo.webp\" alt=\"Logo\" width=\"120\"\u003e\n  \u003c/a\u003e\n\n  \u003ch1 align=\"center\"\u003eT-Gadgetid restful api\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n    This is my first restful api which I made using php native. The purpose of this api is make it easier for me to manage the content on the t-gadget.herokuapp.com.\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## Tools \u0026 Stack\n- [x] PHP Native (MVC)\n- [x] firebase/php-jwt\n- [x] phpmailer\n- [x] rakit validation\n- [x] mysql\n\n## Endpoints \u003cbr\u003e\n- to get the api-key, user must register a new account\n- api-key and token are obtained every time the user logs in\n- public api-key: `610644b1eba3e` \u003cbr\u003e\n  **use this api-key if you only need data retrieval* \u003cbr\u003e\n- url structure: \u003cbr\u003e\n  ```\n  https://t-gadgetapi.herokuapp.com/:controller/:method\n  ```\n- url previx: \u003cbr\u003e\n  ```\n  https://t-gadgetcors.herokuapp.com/https://t-gadgetapi.herokuapp.com/:controller/:method\n  ```\n  **use this prefix to avoid blocked by CORS*\n- endpoints:\n\n  | CONTROLLER | METHOD | AUTH   | DETAIL USAGE |\n  | :--:       |  :---  |  :--:  |  :--:        |\n  | /user   | \u003cul\u003e\u003cli\u003e/register\u003c/li\u003e\u003cli\u003e/login\u003c/li\u003e\u003cli\u003e/session\u003c/li\u003e\u003cli\u003e/edit\u003c/li\u003e\u003cli\u003e/logout\u003c/li\u003e\u003cli\u003e/delete\u003c/li\u003e\u003c/ul\u003e | `api-key` `token`| \u003ca href=\"/sub-readme/user-activities/README.md\"\u003edetail\u003c/a\u003e\n  | /get    | \u003cul\u003e\u003cli\u003e/socialmedia\u003c/li\u003e\u003cli\u003e/countdown\u003c/li\u003e\u003cli\u003e/banners\u003c/li\u003e\u003cli\u003e/testimonies\u003c/li\u003e\u003cli\u003e/statistics\u003c/li\u003e\u003cli\u003e/categories\u003c/li\u003e\u003cli\u003e/keywords\u003c/li\u003e\u003cli\u003e/products\u003c/li\u003e\u003c/ul\u003e  | `api-key` | \u003ca href=\"/sub-readme/get-data/README.md\"\u003edetail\u003c/a\u003e\n  | /add    | \u003cul\u003e\u003cli\u003e/category\u003c/li\u003e\u003cli\u003e/banenr\u003c/li\u003e\u003cli\u003e/testimoni\u003c/li\u003e\u003cli\u003e/product\u003c/li\u003e\u003c/ul\u003e | `api-key` `token` | \u003ca href=\"/sub-readme/add-data/README.md\"\u003edetail\u003c/a\u003e\n  | /update | \u003cul\u003e\u003cli\u003e/socialmedia\u003c/li\u003e\u003cli\u003e/countdown\u003c/li\u003e\u003cli\u003e/product\u003c/li\u003e\u003cli\u003e/statistic\u003c/li\u003e\u003c/ul\u003e | `api-key` `token`   | \u003ca href=\"sub-readme/update-data/README.md\"\u003edetail\u003c/a\u003e\n  | /delete | \u003cul\u003e\u003cli\u003e/category\u003c/li\u003e\u003cli\u003e/banner\u003c/li\u003e\u003cli\u003e/testimoni\u003c/li\u003e\u003cli\u003e/product\u003c/li\u003e\u003c/ul\u003e | `api-key` `token`   | \u003ca href=\"/sub-readme/delete-data/README.md\"\u003edetail\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorospace%2Fapi-tgadget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkorospace%2Fapi-tgadget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorospace%2Fapi-tgadget/lists"}