PHPackages                             patrickmaken/web2sms-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. patrickmaken/web2sms-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

patrickmaken/web2sms-client
===========================

PHP library for sending SMS using web2sms237 API (https://web2sms237.com)

v1.0.3(3y ago)0411PHPPHP &gt;=5.5

Since Aug 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/patrickmaken/web2sms-client)[ Packagist](https://packagist.org/packages/patrickmaken/web2sms-client)[ RSS](/packages/patrickmaken-web2sms-client/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

Web 2 SMS Client
================

[](#web-2-sms-client)

PHP library for sending SMS in Cameroon using web2sms237 API. Visit [https://web2sms237.com](https://web2sms237.com "SMS Pro & Bulk SMS Cameroon") to create your account.

Requirement
-----------

[](#requirement)

You need **php version &gt;=5.5** to use this library

Installation
------------

[](#installation)

```
composer require patrickmaken/web2sms-client
```

Usage
-----

[](#usage)

Before any operation, you must initialize the client by giving it your api\_user\_id and api\_user\_secret. These values are available in the "API Deleloppers menu" of your customer panel on the platform .

### Send SMS

[](#send-sms)

```
use Patrickmaken\Web2Sms\Client as W2SClient;

W2SClient::setConfig([
    'api_user_id' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
    'api_key' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
]);

$telephone = '+237699887766';
$text = 'Ceci est un message de test.';
$senderID = 'MyApp';

$response = W2SClient::sendSMS($telephone, $text, $senderID);
var_dump($response);
```

Output:

```
array(2) {
  ["id"]=>
  string(36) "e3f0bcd5-7742-433d-add2-11a00b89a477"
  ["cost"]=>
  int(12)
}
```

### Get SMS Status

[](#get-sms-status)

```
use Patrickmaken\Web2Sms\Client as W2SClient;

W2SClient::setConfig([
    'api_user_id' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
    'api_key' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
]);

$message_id = 'e3f0bcd5-7742-433d-add2-11a00b89a477';

$response = W2SClient::getMessageStatus($message_id);
var_dump($response);
```

Output:

```
array(2) {
  ["status"]=>
  string(4) "SENT"
  ["sent_by"]=>
  string(5) "MyApp"
}
```

contacts
--------

[](#contacts)

- Email:
- Telephone / Whatsapp: [+237 674 35 29 69](https://wa.me/237674352969)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~240 days

Total

4

Last Release

1415d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9cd2c51ac8256eafd720a521fc47e3a195f5e3caf61446bc9d73e3d27aa4f151?d=identicon)[patrickbalemaken](/maintainers/patrickbalemaken)

---

Top Contributors

[![patrickmaken](https://avatars.githubusercontent.com/u/42263643?v=4)](https://github.com/patrickmaken "patrickmaken (14 commits)")

### Embed Badge

![Health badge](/badges/patrickmaken-web2sms-client/health.svg)

```
[![Health](https://phpackages.com/badges/patrickmaken-web2sms-client/health.svg)](https://phpackages.com/packages/patrickmaken-web2sms-client)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
