{"id":33978359,"url":"https://github.com/adjemin/mtnsmscloud-php","last_synced_at":"2026-03-13T14:34:34.626Z","repository":{"id":56940927,"uuid":"274153855","full_name":"adjemin/mtnsmscloud-php","owner":"adjemin","description":"PHP library for MTN SMS CLOUD API","archived":false,"fork":false,"pushed_at":"2020-06-26T15:19:36.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T15:40:45.655Z","etag":null,"topics":["smsapi","smscloud"],"latest_commit_sha":null,"homepage":"https://smscloud.ci","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/adjemin.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":"2020-06-22T14:04:41.000Z","updated_at":"2020-06-29T12:31:18.000Z","dependencies_parsed_at":"2022-08-21T07:20:40.752Z","dependency_job_id":null,"html_url":"https://github.com/adjemin/mtnsmscloud-php","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/adjemin/mtnsmscloud-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjemin%2Fmtnsmscloud-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjemin%2Fmtnsmscloud-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjemin%2Fmtnsmscloud-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjemin%2Fmtnsmscloud-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adjemin","download_url":"https://codeload.github.com/adjemin/mtnsmscloud-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjemin%2Fmtnsmscloud-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30468350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"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":["smsapi","smscloud"],"created_at":"2025-12-13T02:48:50.121Z","updated_at":"2026-03-13T14:34:29.611Z","avatar_url":"https://github.com/adjemin.png","language":"PHP","readme":"# MTN SMS CLOUD PHP\n\n[![Latest Stable Version](https://poser.pugx.org/adjemin/mtnsmscloud/v)](//packagist.org/packages/adjemin/mtnsmscloud) [![Total Downloads](https://poser.pugx.org/adjemin/mtnsmscloud/downloads)](//packagist.org/packages/adjemin/mtnsmscloud) [![Latest Unstable Version](https://poser.pugx.org/adjemin/mtnsmscloud/v/unstable)](//packagist.org/packages/adjemin/mtnsmscloud) [![License](https://poser.pugx.org/adjemin/mtnsmscloud/license)](//packagist.org/packages/adjemin/mtnsmscloud)\n\n\nThis repository provides suitables tools for performing sms campaign. Actually, only Api's from MTN SMS CLOUD are embedded.\n\n## Requirements\n\nPHP 5.6.0 and later.\n\n## Composer\n\nYou can install the bindings via [Composer](http://getcomposer.org/). Run the following command:\n\n```bash\ncomposer require adjemin/mtnsmscloud\n```\n\n## Architecture\n\nThis repo has two main classes:\n\n  - **BaseApi** in [`./src/MtnSmsCloud/BaseApi.php`](./src/MtnSmsCloud/BaseApi.php)\n  - **MTNSMSApi** in [`./src/MtnSmsCloud/MTNSMSApi.php`](./src/MtnSmsCloud/MTNSMSApi.php)\n\nThe first class is used to perform POST and GET HTTP request.\nThe second one is used for MTN SMS.\n\n## Instanciation\n\nBe sure to check the namespace first.\n\n```php\nuse MtnSmsCloud\\MTNSMSApi;\n\n/**\n * Create a new Instance\n * \n * @param string $sender_id = The desired sender_id\n * @param string $token = $token associated with $sender_id \n */\n$msa = new MTNSMSApi($sender_id, $token);\n\n/**\n * Send a new Campaign\n * \n * @param array $recipients {Ex: [\"225xxxxxxxx\", \"225xxxxxxxx\"]}\n * @param string $message\n */\nreturn $msa-\u003enewCampaign($recipients, $message);\n\n/**\n * Retrieves on created Campaign\n * \n * @param string $campaign_id\n * @param string $message\n */\nreturn $msa-\u003egetCampaign($campaign_id, $message);\n```\n\n\u003e Made with :heart: by Adjemin","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjemin%2Fmtnsmscloud-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadjemin%2Fmtnsmscloud-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjemin%2Fmtnsmscloud-php/lists"}