{"id":31756821,"url":"https://github.com/reactmore/qiospay-sdk","last_synced_at":"2025-10-09T19:25:40.038Z","repository":{"id":316316631,"uuid":"1062819801","full_name":"reactmore/qiospay-sdk","owner":"reactmore","description":"This library provides QiosPay integration with the CodeIgniter 4 framework. It helps manage data and APIs easily through Service Facade.","archived":false,"fork":false,"pushed_at":"2025-10-01T04:29:04.000Z","size":60,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-01T06:24:14.682Z","etag":null,"topics":["payment-gateway","ppob","qiospay"],"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/reactmore.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T19:20:20.000Z","updated_at":"2025-10-01T04:29:07.000Z","dependencies_parsed_at":"2025-09-28T11:00:09.352Z","dependency_job_id":null,"html_url":"https://github.com/reactmore/qiospay-sdk","commit_stats":null,"previous_names":["reactmore/qiospay-sdk"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/reactmore/qiospay-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactmore%2Fqiospay-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactmore%2Fqiospay-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactmore%2Fqiospay-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactmore%2Fqiospay-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reactmore","download_url":"https://codeload.github.com/reactmore/qiospay-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactmore%2Fqiospay-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001980,"owners_count":26083243,"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-09T02:00:07.460Z","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":["payment-gateway","ppob","qiospay"],"created_at":"2025-10-09T19:25:38.412Z","updated_at":"2025-10-09T19:25:40.032Z","avatar_url":"https://github.com/reactmore.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qiospay SDK for CodeIgniter 4\n\nThis library provides **QiosPay** integration with the **CodeIgniter 4** framework and standalone PHP projects.\nIt helps manage data and APIs easily through Service Facade.\n\n---\n\n## 📑 Table of Contents\n- [📦 Installation](#-installation)\n- [⚙️ ENV Configuration](#️-env-configuration)\n- [🚀 Usage](#-usage)\n  - [Products Service](#products-service)\n    - [Get Products](#get-products)\n    - [Get Products with Filters](#get-products-with-filters)\n    - [Get Products with Callback](#get-products-with-callback)\n    - [Get Categories](#get-categories)\n    - [Other Methods](#other-methods)\n  - [💳 Qris Service](#-qris-service)\n    - [Get Qris Mutation](#get-qris-mutation)\n    - [Get Qris Mutation with Filters](#get-qris-mutation-with-filters)\n    - [Generate Dynamic Qris](#generate-dynamic-qris)\n    - [Accessing Qris Response](#accessing-qris-response)\n- [🌐 Usage in PHP (non CodeIgniter 4)](#-usage-in-php-non-codeigniter-4)\n\n---\n\n## 📦 Installation\n\n1. **Install via Composer**\n```bash\ncomposer require reactmore/qiospay-sdk\n```\n\n## ⚙️ ENV Configuration\n```env\nQiospay.merchantCode = ''\nQiospay.apiKey = ''\nQiospay.qrisString = ''\n# TODO For H2H:\nQiospay.memberId = ''\nQiospay.memberPin = ''\nQiospay.memberPassword = ''\n```\n\n---\n\n## 🚀 Usage\n\n### Get the service instance\n```php\n$qiospay = service('qiospay');\n$productsService = $qiospay-\u003eproducts();\n```\n\n---\n\n## Products Service\n\n### Get Products\n```php\n$response = $productsService-\u003egetProduct([], 1);\n$data = $response-\u003egetData();\n```\n\nExample response:\n```\narray(\n  'kode' =\u003e 'BYRTSELQM',\n  'produk' =\u003e 'Telkomsel Omni',\n  'keterangan' =\u003e 'Bayar Telkomsel Combo Sakti',\n  'harga' =\u003e '2050',\n  'status' =\u003e '1',\n  ...\n)\n```\n\n### Get Products with Filters\n```php\n$filters = [\n    'produk' =\u003e 'Telkomsel Omni',\n];\n\n$response = $productsService-\u003egetProduct($filters, 1);\n$data = $response-\u003egetData();\n```\n\nExample response:\n\n| kode       | produk         | keterangan                      | harga | status |\n|------------|----------------|---------------------------------|-------|--------|\n| BYRTSELQM  | Telkomsel Omni | Bayar Telkomsel Combo Sakti     | 2050  | 1      |\n| CEKTSELQM  | Telkomsel Omni | Cek Harga Telkomsel Combo Sakti | 0     | 1      |\n| LISTTSELQM | Telkomsel Omni | Cek List Telkomsel Combo Sakti  | 0     | 1      |\n\n### Get Products with Callback\n```php\n$dataFilter = function(array $products) {\n    return array_filter($products, fn($item) =\u003e $item['harga'] \u003e 0);\n};\n\n$filters = [\n    'produk' =\u003e 'Telkomsel Omni',\n];\n\n$response = $productsService-\u003egetProduct($filters, 1, $dataFilter);\n$data = $response-\u003egetData();\n```\n\nFiltered response:\n\n| kode       | produk         | keterangan                  | harga | status |\n|------------|----------------|-----------------------------|-------|--------|\n| BYRTSELQM  | Telkomsel Omni | Bayar Telkomsel Combo Sakti | 2050  | 1      |\n\n### Get Categories\n```php\n$categoriesResponse = $productsService-\u003egetCategories();\n$categories = $categoriesResponse-\u003egetData();\n```\n\n### Other Methods\n```php\n$response = $productsService-\u003egetProduct();   // Get product with optional page\n$response = $productsService-\u003egetAll();       // Get all products\n$response = $productsService-\u003egetCategories();// Get all categories\n```\n\n---\n\n## 💳 Qris Service\n\n### Get Qris Mutation\n```php\n$qrisService = $qiospay-\u003eqris();\n$response = $qrisService-\u003egetMutation([], 1);\n$data = $response-\u003egetData();\n```\n\n### Get Qris Mutation with Filters\n```php\n$filters = [\n    'amount' =\u003e 10000,\n];\n\n$response = $qrisService-\u003egetMutation($filters, 1);\n$data = $response-\u003egetData();\n```\n\n### Generate Dynamic Qris\n```php\n$response = $qrisService-\u003egenerateDynamicQris([\n    'amount' =\u003e 15000,\n    'note'   =\u003e 'Order #12345'\n]);\n$qrisData = $response-\u003egetData();\n```\n\n### Accessing Qris Response\n```php\n$data = $response-\u003egetData();\n$fullArray = $response-\u003etoArray();\n$asObject = $response-\u003etoObject();\n$json = $response-\u003etoJson();\n```\n\n---\n\n## 🌐 Usage in PHP (non CodeIgniter 4)\n\n```php\n$qios = new QiosPayFacade([\n    'merchantCode' =\u003e '',\n    'memberId' =\u003e '',\n    'memberPin' =\u003e '',\n    'memberPassword' =\u003e '',\n    'apiKey' =\u003e '',\n    'qrisString' =\u003e '',\n]);\n\n$response = $qios-\u003eproducts()-\u003egetProduct([\n    'produk' =\u003e 'Telkomsel Omni',\n], 1);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactmore%2Fqiospay-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freactmore%2Fqiospay-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactmore%2Fqiospay-sdk/lists"}