{"id":32393951,"url":"https://github.com/metallurgical/codeigniter-restserver-api","last_synced_at":"2025-10-25T05:56:23.645Z","repository":{"id":26033078,"uuid":"29476133","full_name":"metallurgical/codeigniter-restserver-api","owner":"metallurgical","description":"Codeigniter restserver api. Used with phil sturgeon library for codeigniter.","archived":false,"fork":false,"pushed_at":"2016-10-07T09:46:52.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-14T22:37:03.424Z","etag":null,"topics":["codeigniter-restserver-api","php","rest-api","rest-server","restful"],"latest_commit_sha":null,"homepage":null,"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/metallurgical.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":"2015-01-19T15:04:12.000Z","updated_at":"2024-03-14T22:37:03.424Z","dependencies_parsed_at":"2022-07-24T08:16:11.470Z","dependency_job_id":null,"html_url":"https://github.com/metallurgical/codeigniter-restserver-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/metallurgical/codeigniter-restserver-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metallurgical%2Fcodeigniter-restserver-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metallurgical%2Fcodeigniter-restserver-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metallurgical%2Fcodeigniter-restserver-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metallurgical%2Fcodeigniter-restserver-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metallurgical","download_url":"https://codeload.github.com/metallurgical/codeigniter-restserver-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metallurgical%2Fcodeigniter-restserver-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280911366,"owners_count":26412209,"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-25T02:00:06.499Z","response_time":81,"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":["codeigniter-restserver-api","php","rest-api","rest-server","restful"],"created_at":"2025-10-25T05:54:58.948Z","updated_at":"2025-10-25T05:56:23.640Z","avatar_url":"https://github.com/metallurgical.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extra - Codeigniter Restserver API\n\nProcess:\n\n * Including CORS\n * In one url line, e.g domain.com/x/dataAll/type/users/format/json\n * Depend on the model\n\n\nCompatible with :\n\n * Apache (dav mod need to be enable)\n * nginx\n\nAnd here's some example handling cors\n\n```php\nheader('Access-Control-Allow-Origin: *');\nheader('Access-Control-Allow-Credentials: true');\nheader('Access-Control-Allow-Method: POST, GET, OPTIONS, PUT, DELETE');\nheader(\"Access-Control-Allow-Headers: X-Custom-Header, X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method, Authorization\");\n```\n\nThis is [on GitHub](https://github.com/metallurgical/codeigniter-restserver-api) so let me know if I've forked it somewhere.\n\n\n### Stuff used to make this:\n\n * [codeigniter](http://www.codeigniter.com/) PHP Framework\n * [nginx](http://nginx.org/) Web Server\n * [apache](http://www.apache.org/) Web Server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetallurgical%2Fcodeigniter-restserver-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetallurgical%2Fcodeigniter-restserver-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetallurgical%2Fcodeigniter-restserver-api/lists"}