{"id":31788914,"url":"https://github.com/zerosdev/kirimwa-php-client","last_synced_at":"2025-10-10T14:29:39.597Z","repository":{"id":50769331,"uuid":"371984956","full_name":"zerosdev/kirimwa-php-client","owner":"zerosdev","description":"Client SDK Library for Kirimwa.cloud","archived":false,"fork":false,"pushed_at":"2021-08-18T17:10:04.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"1.x","last_synced_at":"2025-10-03T13:20:07.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/zerosdev.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}},"created_at":"2021-05-29T13:50:08.000Z","updated_at":"2021-08-18T17:10:06.000Z","dependencies_parsed_at":"2022-09-22T14:43:36.845Z","dependency_job_id":null,"html_url":"https://github.com/zerosdev/kirimwa-php-client","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zerosdev/kirimwa-php-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2Fkirimwa-php-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2Fkirimwa-php-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2Fkirimwa-php-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2Fkirimwa-php-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerosdev","download_url":"https://codeload.github.com/zerosdev/kirimwa-php-client/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2Fkirimwa-php-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004178,"owners_count":26083688,"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-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2025-10-10T14:29:05.254Z","updated_at":"2025-10-10T14:29:39.592Z","avatar_url":"https://github.com/zerosdev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KirimWA PHP Client\nClient SDK Library for Kirimwa.cloud Server Application\n\n## Requirements\n- PHP 5.6+\n- PHP JSON Extension\n- [Guzzle, PHP HTTP Client](https://github.com/guzzle/guzzle)\n\n## Installation\n\n1. Run command\n\u003cpre\u003e\u003ccode\u003ecomposer require zerosdev/kirimwa-php-client\u003c/code\u003e\u003c/pre\u003e\n\n### The following steps only needed if you are using Laravel\n\n\u003e For installation on Laravel 5.5+, **SKIP steps 2 \u0026 3** because we have used the Package Discovery feature, Laravel will automatically register the Service Provider and Alias during installation.\n\n2. Open your **config/app.php** and add this code to the providers array, it will looks like:\n\u003cpre\u003e\u003ccode\u003e'providers' =\u003e [\n\n      // other providers\n\n      ZerosDev\\KirimWA\\Laravel\\ServiceProvider::class,\n\n],\u003c/code\u003e\u003c/pre\u003e\n\n3. Add this code to your class aliases array\n\u003cpre\u003e\u003ccode\u003e'aliases' =\u003e [\n\n      // other aliases\n\n      'KirimWA' =\u003e ZerosDev\\KirimWA\\Laravel\\Facade::class,\n\n],\u003c/code\u003e\u003c/pre\u003e\n\n4. Run command\n\u003cpre\u003e\u003ccode\u003ecomposer dump-autoload\u003c/code\u003e\u003c/pre\u003e\n\n5. Then\n\u003cpre\u003e\u003ccode\u003ephp artisan vendor:publish --provider=\"ZerosDev\\KirimWA\\Laravel\\ServiceProvider\"\u003c/code\u003e\u003c/pre\u003e\n\n6. Edit **config/kirimwa.php** and put your KirimWA Server information like API host and sender list\n\n## Basic Usage\n\n### Laravel Usage\n\n```php\n\u003c?php\n\nnamespace App\\Http\\Controllers;\n\nuse KirimWA;\n\nclass YourController extends Controller\n{\n    public function index()\n    {\n        KirimWA::sendText('6281234567890', 'This is message to be sent');\n\n        if( KirimWA::hasError() ) {\n            dd(KirimWA::error());\n        }\n        else {\n            dd(KirimWA::response());\n        }\n    }\n}\n```\n\n### Non-Laravel Usage\n\n```php\n\u003c?php\n\nrequire 'path/to/your/vendor/autoload.php';\n\nuse ZerosDev\\KirimWA\\Client;\nuse ZerosDev\\KirimWA\\Config;\n\nConfig::apply([\n    'default_host'  =\u003e 'http://yourwaserver.com',\n    'senders'       =\u003e [\n        '6281234567890' =\u003e [\n            'host'  =\u003e ':3001', // just place port number to follow 'default_host'\n            'key'   =\u003e 'your api key here'\n        ],\n        '6280987654321' =\u003e [\n            'host'  =\u003e 'http://youranotherwaserver.com:3002', // or place full API host with port to use different host than the 'default_host'\n            'key'   =\u003e 'your api key here'\n        ],\n    ]\n]);\n\n$kirimwa = new Client();\n$kirimwa-\u003esendText('6281234567890', 'This is message to be sent');\n\nif( $kirimwa-\u003ehasError() ) {\n    echo $kirimwa-\u003eerror();\n}\nelse {\n    echo $kirimwa-\u003eresponse();\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerosdev%2Fkirimwa-php-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerosdev%2Fkirimwa-php-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerosdev%2Fkirimwa-php-client/lists"}