PHPackages                             smspro/sms - 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. smspro/sms

ActiveLibrary[API Development](/categories/api)

smspro/sms
==========

SMSPRO API Packages

v1.0.0(11mo ago)03MITPHPPHP &gt;=8.1CI passing

Since Jun 11Pushed 11mo agoCompare

[ Source](https://github.com/Softeria-Tech/SMSPro-php-lib)[ Packagist](https://packagist.org/packages/smspro/sms)[ Docs](https://sms.softeriatech.com)[ RSS](/packages/smspro-sms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

 [ ![Smspro](https://camo.githubusercontent.com/740dad13ebadf8ad3b4e2e476b60a0d416c730e6014c3d8070170a36de286148/68747470733a2f2f736d732e736f667465726961746563682e636f6d2f696d616765732f70726f6d6f74696f6e2e706e67) ](https://sms.softeriatech.com/)

 PHP SMS API Sending SMS via the ***SMSPRO SMS gateway***

 [ ![Build Status](https://github.com/softeria-tech/smspro-php-lib/actions/workflows/unittest.yml/badge.svg) ](https://github.com/softeria-tech/smspro-php-lib) [ ![smspro-badge](https://camo.githubusercontent.com/b3071cd3a05215cb0cdb593c052ea92cf81a32f0a344344124f6a29deb3d8424/68747470733a2f2f636f6465636f762e696f2f67682f736d7370726f2f736d732f6272616e63682f6d61737465722f67726170682f62616467652e737667) ](https://codecov.io/gh/smspro/sms)

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

[](#requirement)

This library needs minimum requirement for doing well on run.

- [Sign up](https://sms.softeriatech.com) for a free SMSPRO account
- Ask SMSPRO Team for new access\_key for developers
- SMSPRO SMS API client for PHP requires version 8.1.x and above

Installation via Composer
-------------------------

[](#installation-via-composer)

Package is available on [Packagist](https://packagist.org/packages/smspro/sms), you can install it using [Composer](http://getcomposer.org).

```
composer require smspro/sms
```

### Or go to

[](#or-go-to)

[Smspro-SMS-API-Latest Release](https://github.com/softeria-tech/smspro-php-lib/releases/tag/1.0.0)

And download the full version

If you want to install a legacy version running with `PHP7.4`Run composer with the command below

```
composer require smspro/sms "1.0.*"
```

Or Download it from [Smspro-SMS-API-Legacy](https://github.com/softeria-tech/smspro-php-lib/releases/tag/1.0.0)

Quick Examples
--------------

[](#quick-examples)

##### Sending a SMS

[](#sending-a-sms)

```
	$oMessage = \Smspro\Sms\Message::create('YOUR_PRO_API_KEY');
	$oMessage->from ='SenderId';
	$oMessage->to = '+254712509826,071250xxx';
	$oMessage->message ='Test sms from smspro';
	var_dump($oMessage->send());
```

##### Sending non customized sender SMS.

[](#sending-non-customized-sender-sms)

```
   $oBalance = \Smspro\Sms\Balance::create('YOUR_PRO_API_KEY');
	$response = $oBalance->get();
	$balance = $response->getBalance();
	$currency = $response->getCurrency();
	$rate = $response->getRate();
	echo "Your current balance is {$balance} {$currency} at a rate of {$rate}.\n";
```

##### Sending Bulk SMS from your Script

[](#sending-bulk-sms-from-your-script)

It is obvious that sending bulk data to any system is a problem! Therefore, you should check our recommendation for the best approach

- (***[See example for bulk sms](https://github.com/softeria-tech/smspro-php-lib/wiki/How-to-send-Bulk-SMS-from-your-script#send-sms-sequentially)***)

WordPress Plugin
----------------

[](#wordpress-plugin)

If you are looking for a powerful WordPress plugin to send SMS, then download our [sms-pro-wp-plugin](https://github.com/Softeria-Tech/sms-pro-wp-plugin)

Resources
---------

[](#resources)

- [Documentation](https://github.com/softeria-tech/smspro-php-lib/wiki)
- [Report issues](https://github.com/softeria-tech/smspro-php-lib/issues)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance51

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

341d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48f27d923cbaf935fa77d28ba330ed2ee3ec7ae6e4e609607659ef6ef6922e9a?d=identicon)[babaviz](/maintainers/babaviz)

---

Top Contributors

[![babaviz](https://avatars.githubusercontent.com/u/15885367?v=4)](https://github.com/babaviz "babaviz (5 commits)")

---

Tags

smsbulk-smssms-gatewayapi smsGPG SMS encrytionsmsproPlugin smspro sms

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[plivo/plivo-php

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1102.8M18](/packages/plivo-plivo-php)[plivo/php-sdk

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1101.9M5](/packages/plivo-php-sdk)[africastalking/africastalking

Official Africa's Talking PHP SDK

122557.6k10](/packages/africastalking-africastalking)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[smsfactor/smsfactor-php-sdk

SMSFactor client library for PHP

15382.5k2](/packages/smsfactor-smsfactor-php-sdk)

PHPackages © 2026

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