{"id":23114186,"url":"https://github.com/buibr/mizu-voip-sms-php","last_synced_at":"2025-06-18T10:41:51.314Z","repository":{"id":62498073,"uuid":"179038548","full_name":"buibr/mizu-voip-sms-php","owner":"buibr","description":"Send SMS with Mizu VoIP switch","archived":false,"fork":false,"pushed_at":"2019-06-20T12:36:18.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T12:28:50.467Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buibr.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":"2019-04-02T08:59:05.000Z","updated_at":"2019-06-17T10:25:39.000Z","dependencies_parsed_at":"2022-11-02T12:16:06.096Z","dependency_job_id":null,"html_url":"https://github.com/buibr/mizu-voip-sms-php","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buibr%2Fmizu-voip-sms-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buibr%2Fmizu-voip-sms-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buibr%2Fmizu-voip-sms-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buibr%2Fmizu-voip-sms-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buibr","download_url":"https://codeload.github.com/buibr/mizu-voip-sms-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247101354,"owners_count":20883764,"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","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":"2024-12-17T03:20:18.988Z","updated_at":"2025-04-04T00:27:17.501Z","avatar_url":"https://github.com/buibr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mizu-voip-sms-php\r\n\r\n\u003ch4\u003eInstall with composer\u003c/h4\u003e\r\n\r\n```terminal\r\ncomposer requre buibr/budget-sms-php\r\n```\r\n\r\n\u003ch4\u003eUsage:\u003c/h4\u003e \r\n\r\nExample 1:\r\n```php\r\n$mizu = new \\buibr\\Mizu\\mizuSMS( [\r\n    'server' =\u003e 'the sip server of yours',\r\n    'authKey'=\u003e 'xxx',\r\n    'authId'=\u003e'xxx',\r\n    'authpwd'=\u003e'xxx',\r\n]);\r\n\r\n//  sender name\r\n$mizu-\u003esetSender(\"Test\"); // sender name\r\n\r\n//  add recepient\r\n$mizu-\u003esetRecipient('+38971xxxxxx');\r\n\r\n//  add message\r\n$mizu-\u003esetMessage('Testing the provider');\r\n\r\n//  Send the message \r\n$send = $mizu-\u003esend();\r\n\r\n```\r\n\r\nExample 2:\r\n```php\r\nuse buibr\\Mizu\\mizuSMS;\r\n\r\n$mizu = new mizuSMS( [\r\n    'server' =\u003e 'the sip server of yours',\r\n    'anum'=\u003e'xxx', // sender name\r\n    'authKey'=\u003e 'xxx',\r\n    'authId'=\u003e'xxx',\r\n    'authpwd'=\u003e'xxx',\r\n]);\r\n\r\n$credit = $mizu-\u003ebalance();\r\n\r\n```\r\n\r\n\r\n\u003ch4\u003eResponse:\u003c/h4\u003e \r\n\r\nSuccess:\r\n\r\n```php\r\nbuibr\\Mizu\\mizuResponse Object\r\n(\r\n    [code] =\u003e 200\r\n    [type] =\u003e text/plain\r\n    [time] =\u003e 0.417484\r\n    [status] =\u003e 1\r\n    [response] =\u003e $9.8\r\n    [data] =\u003e Your credit is $9.8\r\n)\r\n```\r\n\r\nError:\r\n\r\n\r\n```php\r\nbuibr\\Mizu\\mizuResponse Object\r\n(\r\n    [code] =\u003e 200\r\n    [type] =\u003e text/plain\r\n    [time] =\u003e 0.454436\r\n    [status] =\u003e \r\n    [response] =\u003e auth failed: wrong key xxx NORETRY\r\n    [data] =\u003e ERROR: auth failed: wrong key xxx NORETRY\r\n)\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuibr%2Fmizu-voip-sms-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuibr%2Fmizu-voip-sms-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuibr%2Fmizu-voip-sms-php/lists"}