{"id":21867874,"url":"https://github.com/jakbin/php_pdo_rest_api","last_synced_at":"2025-10-07T07:29:36.807Z","repository":{"id":114017393,"uuid":"394588000","full_name":"jakbin/php_pdo_rest_api","owner":"jakbin","description":"Api using Php Pdo","archived":false,"fork":false,"pushed_at":"2022-06-23T07:01:33.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T21:44:31.591Z","etag":null,"topics":["mysql","php","php-api-server","php-pdo","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/jakbin.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-08-10T08:59:32.000Z","updated_at":"2021-11-09T13:15:09.000Z","dependencies_parsed_at":"2023-05-22T03:30:08.854Z","dependency_job_id":null,"html_url":"https://github.com/jakbin/php_pdo_rest_api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jakbin/php_pdo_rest_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Fphp_pdo_rest_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Fphp_pdo_rest_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Fphp_pdo_rest_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Fphp_pdo_rest_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakbin","download_url":"https://codeload.github.com/jakbin/php_pdo_rest_api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Fphp_pdo_rest_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278739935,"owners_count":26037474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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","php-api-server","php-pdo","rest-api","sql"],"created_at":"2024-11-28T05:10:54.886Z","updated_at":"2025-10-07T07:29:36.787Z","avatar_url":"https://github.com/jakbin.png","language":"PHP","readme":"# Php Pdo rest api \n\n ![GitHub Contributors](https://img.shields.io/github/contributors/jakbin/php_pdo_rest_api)\n ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/jakbin/php_pdo_rest_api)\n ![GitHub last commit](https://img.shields.io/github/last-commit/jakbin/php_pdo_rest_api)\n ![Php 7.4+](https://img.shields.io/badge/php-7.4+-green.svg)\n\n\n## This is only example, You need to modify for your own use.\n\n1. Clone the repo \n\n```bash\ngit clone https://github.com/jakbin/php_pdo_rest_api.git\n```\n\n2. Then create database.\n\ncreate a database name with \"api\".\n\n```sql\ncreate database api;\n```\n\n```sql\nCREATE TABLE `apiTest`.`api` ( `id` INT NOT NULL AUTO_INCREMENT , \n\t`fname` TEXT NOT NULL , \n\t`lname` TEXT NOT NULL , \n\tPRIMARY KEY (`id`)) ENGINE = InnoDB;\n```\n\nOr\n\nimport \"apiTest.sql\" file into your database.\n\n4. Start mysql server.\n\n3. Start api server.\ns\n```bash \nphp -S 127.0.0.1:8080 -t php_pdo_pdo_api/\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakbin%2Fphp_pdo_rest_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakbin%2Fphp_pdo_rest_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakbin%2Fphp_pdo_rest_api/lists"}