Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/im-machakata/codels-sms-php
PHP wrapper for 2waychat.com bulk sms by codel.co.zw
https://github.com/im-machakata/codels-sms-php
2waychat-sms bulk-sms codel-sms php-wrapper sms-api
Last synced: about 1 month ago
JSON representation
PHP wrapper for 2waychat.com bulk sms by codel.co.zw
- Host: GitHub
- URL: https://github.com/im-machakata/codels-sms-php
- Owner: im-machakata
- Created: 2024-07-05T13:09:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-23T22:24:00.000Z (5 months ago)
- Last Synced: 2024-10-28T22:15:13.466Z (about 2 months ago)
- Topics: 2waychat-sms, bulk-sms, codel-sms, php-wrapper, sms-api
- Language: PHP
- Homepage: https://packagist.org/packages/immachakata/codelsms
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
Awesome Lists containing this project
README
[![CI Test Package](https://github.com/im-machakata/codels-sms/actions/workflows/ci-test.yml/badge.svg)](https://github.com/im-machakata/codels-sms/actions/workflows/ci-test.yml)
![Packagist Version](https://img.shields.io/packagist/v/immachakata/codelsms)
![Packagist Downloads](https://img.shields.io/packagist/dt/immachakata/codelsms)
![Packagist License](https://img.shields.io/packagist/l/immachakata/codelsms)# Codel Bulk Sms (Un-Official)
This is an **unofficial** package for the [codel](https://codel.co.zw) bulk sms (also known as [2waychat.com](https://2waychat.com)).## How it works
This version interacts with the [Codel Sms API](https://2waychat.com) and does not provide any additional functions.
## Installation
To install and use this library, you'll need to have composer installed. After that, you can install this library with the following composer command:
```sh
composer require immachakata/codelsms
```## Usage
Initialize an sms instance as follows:
```php
use IsaacMachakata\CodelSms\Sms;
use IsaacMachakata\CodelSms\Client;$client = new Client($apiToken);
$sms = Sms::new('263771000000','Your message goes here...');$response = $client->send($sms);
if($response->isOk()){
// Sip some coffee
} else {
// Scratch your head
}