PHPackages                             plexisms/plexisms - 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. [API Development](/categories/api)
4. /
5. plexisms/plexisms

ActiveLibrary[API Development](/categories/api)

plexisms/plexisms
=================

Official PHP SDK for PlexiSMS API

v1.0.1(3mo ago)02MITPHPPHP ^7.4 || ^8.0

Since Jan 29Pushed 3mo agoCompare

[ Source](https://github.com/plexisms/sdk-plexisms-php)[ Packagist](https://packagist.org/packages/plexisms/plexisms)[ RSS](/packages/plexisms-plexisms/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

PlexiSMS
========

[](#plexisms)

[![Latest Version on Packagist](https://camo.githubusercontent.com/87bd4430664d648c870a604e082344360a34b51fb5fbd04679f6c145ec366a98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706c657869736d732f706c657869736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/plexisms/plexisms)[![Total Downloads](https://camo.githubusercontent.com/5fb9f5341db12ddd81de1cf4369b89fb4a41900ea59ef8f0bad0c18e8b37559d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706c657869736d732f706c657869736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/plexisms/plexisms)

Official PHP library for the [PlexiSMS API](https://plexisms.com).

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- [Guzzle HTTP Client](https://github.com/guzzle/guzzle)

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

[](#installation)

Install the package via Composer:

```
composer require plexisms/plexisms
```

Getting Started
---------------

[](#getting-started)

### Get your API Key

[](#get-your-api-key)

You can get your API key from the [PlexiSMS dashboard](https://app.plexisms.com).

### Client Initialization

[](#client-initialization)

```
require 'vendor/autoload.php';

use Plexisms\Client;

$client = new Client('YOUR_API_KEY');
```

### Sending an SMS

[](#sending-an-sms)

```
try {
    $response = $client->messages->create([
        'to' => '+243970000000', // Change
        'body' => 'Hello from PlexiSMS!',
        'senderId' => 'PlexiSMS' // Optional
    ]);

    print_r($response);
    // Array ( [id] => 123 [status] => sent ... )

} catch (\Plexisms\Exceptions\PlexismsException $e) {
    echo "Error: " . $e->getMessage();
}
```

> **Note:** The `senderId` is optional. If not provided, the default sender ID will be used. You can customize your sender ID from the [PlexiSMS dashboard](https://app.plexisms.com).

### Sending Bulk SMS

[](#sending-bulk-sms)

```
$response = $client->messages->createBulk(
    ['+243970000000', '+243970000001'],
    'Bulk message test!',
    'PlexiSMS'
);
```

### Sending OTP

[](#sending-otp)

```
// Send OTP
$otp = $client->otp->send('+243970000000');
$verificationId = $otp['verification_id'];

// Verify OTP
$verification = $client->otp->verify($verificationId, '123456');
```

### Checking Balance

[](#checking-balance)

```
$balance = $client->account->balance();
print_r($balance);
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

Development
-----------

[](#development)

To contribute to this project, you will need to have [Composer](https_//getcomposer.org/) installed on your machine.

After cloning the repository, install the dependencies:

```
composer install
```

### Running tests

[](#running-tests)

```
./vendor/bin/phpunit
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance79

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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 ~0 days

Total

2

Last Release

109d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3be46aa5944642befda9e706bbe7c61f8959b937ce0f3dd2b77b0eb6516e6df8?d=identicon)[plexisms](/maintainers/plexisms)

---

Top Contributors

[![ged-flod](https://avatars.githubusercontent.com/u/51865914?v=4)](https://github.com/ged-flod "ged-flod (3 commits)")

---

Tags

apisdksmsplexisms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/plexisms-plexisms/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)

PHPackages © 2026

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