{"id":15093664,"url":"https://github.com/saidqb/codeigniter-rest-api","last_synced_at":"2026-02-08T08:02:03.253Z","repository":{"id":249535670,"uuid":"830799858","full_name":"saidqb/codeigniter-rest-api","owner":"saidqb","description":"codeigniter 4 rest api","archived":false,"fork":false,"pushed_at":"2024-07-23T15:14:18.000Z","size":3421,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T10:31:37.016Z","etag":null,"topics":["codeigniter4","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/saidqb.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":"2024-07-19T03:04:01.000Z","updated_at":"2024-07-23T15:14:21.000Z","dependencies_parsed_at":"2024-10-14T05:41:59.641Z","dependency_job_id":"1452568c-4c27-4c2c-a1b6-ea81262b8985","html_url":"https://github.com/saidqb/codeigniter-rest-api","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"e9c0474e9292cc8afba45478d5d74f6e61a4b4de"},"previous_names":["saidqb/codeigniter-rest-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saidqb/codeigniter-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidqb%2Fcodeigniter-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidqb%2Fcodeigniter-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidqb%2Fcodeigniter-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidqb%2Fcodeigniter-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saidqb","download_url":"https://codeload.github.com/saidqb/codeigniter-rest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidqb%2Fcodeigniter-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29224988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T06:05:31.539Z","status":"ssl_error","status_checked_at":"2026-02-08T05:58:33.853Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["codeigniter4","rest-api"],"created_at":"2024-09-25T11:24:38.652Z","updated_at":"2026-02-08T08:02:03.230Z","avatar_url":"https://github.com/saidqb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codeigniter-rest-api\n\nprogress build ...\n\nusing Myth/Auth library for authanticate\n\n## Requirement\n\nFramework Codeigniter \u003e= 4.5\nPHP \u003e= 8.1\n\n\n## Featured\n\n- [x] Global access using Api-Key\n- [x] Authorization Bearer \u003ctoken\u003e\n- [x] CRUD User, Role, Permission default from Myth/Auth\n- [ ] Example postman\n\n\n# postman\n\n## postman\n\nHEADER\n```\n#Akses Api\nApi-Key: \u003cyor api key\u003e\n\n# Akses data login, token didapat dari login\nAuthorization: Bearer \u003ctoken\u003e\n```\n\n\n## postman response default\n\ndisplay single data\n```json\n{\n  \"status\": 200,\n  \"success\": true,\n  \"error_code\": 0,\n  \"message\": \"success\",\n  \"data\": {\n      \"item\": {}\n  }\n}\n```\n\ndisplay multiple data\n```json\n{\n  \"status\": 200,\n  \"success\": true,\n  \"error_code\": 0,\n  \"message\": \"success\",\n  \"data\": {\n      \"items\": [],\n      \"pagination\" : {}\n  }\n}\n```\n\n## Query Params Doc\n\nDOC\n===============\n\n## Filter Query By Field\n\n| Key   | Name               | Result                                                             |\n| ----- | ------------------ | ------------------------------------------------------------------ |\n| `eq`  | equal              | `field = 'value'`                                                  |\n| `neq` | not equal          | `field != 'value'`                                                 |\n| `lt`  | lower than         | `field \u003c 'value'`                                                  |\n| `gt`  | greater than       | `field \u003e 'value'`                                                  |\n| `lte` | lower than equal   | `field \u003c= 'value'`                                                 |\n| `gte` | greater than equal | `field \u003e= 'value'`                                                 |\n| `le`  | like end           | `field LIKE 'value%'`                                              |\n| `ls`  | like start         | `field LIKE '%value'`                                              |\n| `lse` | like start end     | `field LIKE '%value%'`                                             |\n| `in`  | where IN           | `field IN (value)` value using sparator `,` ex `1,2,3,4` / `1`     |\n| `nin` | where NOT IN       | `field NOT IN (value)` value using sparator `,` ex `1,2,3,4` / `1` |\n\n### Avilable Param\n\n1. Sort =\u003e `sort=-user_name` =\u003e `SORT user_name DESC`\n2. Sort =\u003e `sort=user_name` =\u003e `SORT user_name ASC`\n3. Sort =\u003e field sort sesuai dengan result\n4. limit =\u003e default: 10 \n5. page =\u003e default: 1\n6. search =\u003e `search=keyword` \n\n\n## COFFEE FOR BEST PERFORMANCE\n\n**[COFFEE HERE](https://saidqb.github.io/coffee)** for more inovation\n\nOR\n\n\u003ca href=\"https://trakteer.id/saidqb/tip\" target=\"_blank\"\u003e\u003cimg id=\"wse-buttons-preview\" src=\"https://cdn.trakteer.id/images/embed/trbtn-red-1.png?date=18-11-2023\" height=\"40\" style=\"border:0px;height:40px;\" alt=\"Trakteer Saya\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaidqb%2Fcodeigniter-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaidqb%2Fcodeigniter-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaidqb%2Fcodeigniter-rest-api/lists"}