PHPackages                             shiftechafrica/smsales-php-sdk - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. shiftechafrica/smsales-php-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

shiftechafrica/smsales-php-sdk
==============================

Library for Smsales Api Triggers. Use this to send bulk sms.

v1.2.0(1y ago)1712MITPHPCI passing

Since May 27Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/SHIFTECH-AFRICA/smsales-php-sdk)[ Packagist](https://packagist.org/packages/shiftechafrica/smsales-php-sdk)[ RSS](/packages/shiftechafrica-smsales-php-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (13)Used By (0)

[![SMSALES Logo](https://camo.githubusercontent.com/91e73813f4e1ee50842b5ebd89b3e330d6f3d2a1e509938b9557e4eee6c3aa66/68747470733a2f2f736d73616c65732e636f2e6b652f6173736574732f696d616765732f6c6f676f2e706e67)](https://smsales.co.ke)

[](#)

 **Always Delivering**
 [ ![](https://camo.githubusercontent.com/e843f2e87400d05e4743204a02a8f87abf13959b3f1542fe1d0750bf18de854e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f53484946544543482d4146524943412f736d73616c65732d7068702d73646b2e737667) ](https://github.com/SHIFTECH-AFRICA/smsales-php-sdk/issues) [ ![](https://camo.githubusercontent.com/507fb9842ec3c3cc3ab260294495a8ca29f9a16040c8435681a1829027e66569/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f53484946544543482d4146524943412f736d73616c65732d7068702d73646b2e737667) ](https://github.com/SHIFTECH-AFRICA/smsales-php-sdk/network/members) [ ![](https://camo.githubusercontent.com/cfa1144a2651f1945043b7f5701c33bf5366af3eeb68a36ae3e653bf6dba2318/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f53484946544543482d4146524943412f736d73616c65732d7068702d73646b2e737667) ](https://github.com/SHIFTECH-AFRICA/smsales-php-sdk/stargazers) [ ![](https://camo.githubusercontent.com/469785e6d545bafe65ad676fc1e5c88b4b6c6c14981656eeb6cc2703ac12ffec/68747470733a2f2f706f7365722e707567782e6f72672f73686966746563686166726963612f736d73616c65732d7068702d73646b2f762f737461626c65) ](https://packagist.org/packages/shiftechafrica/smsales-php-sdk) [ ![](https://camo.githubusercontent.com/e157ecf09ccf0109ff2ccab171b3b43d36f47b287054213d6ddfefcd6a188f0e/68747470733a2f2f706f7365722e707567782e6f72672f73686966746563686166726963612f736d73616c65732d7068702d73646b2f646f776e6c6f616473) ](https://packagist.org/packages/shiftechafrica/smsales-php-sdk)

 [![Documentation](https://github.com/dev-techguy/TechGuy/raw/master/doc.png)](https://smsales.co.ke/docs)

---

🚀 Introduction
--------------

[](#-introduction)

**SMSALES PHP SDK** provides a simple, developer-friendly interface for interacting with the **SMSALES API** — a powerful platform for sending and managing SMS communications.

This SDK enables seamless integration of SMS services into your Laravel or standalone PHP applications, helping you to:

- 📤 Send single or bulk SMS messages effortlessly
- 💰 Retrieve account and sender ID balances
- 📊 Receive delivery callbacks and monitor message status
- ⚙️ Automate messaging workflows with scheduling and webhooks

With SMSALES, you can focus on communication — while the SDK handles the complexity of SMS API interactions.

📘 **Official Documentation:**

---

⚙️ Installation
---------------

[](#️-installation)

Install the package using [Composer](https://getcomposer.org/):

```
composer require shiftechafrica/smsales-php-sdk
```

Update to the latest stable version:

```
composer update shiftechafrica/smsales-php-sdk --lock
```

If the package isn’t automatically discovered, run:

```
composer dump-autoload
```

Publish the configuration file:

```
php artisan vendor:publish --provider="SMSALES\SMSALEServiceProvider"
```

This will create the configuration file at:

```
config/smsales.php

```

### Environment Setup

[](#environment-setup)

Add your API token in the `.env` file:

```
# Your SMSALES API token
SMSALES_API_TOKEN=your_api_token_here
```

---

🧩 Usage
-------

[](#-usage)

The SDK provides a clean and consistent interface for interacting with the SMSALES API.

### Example: Sending SMS and Checking Balances

[](#example-sending-sms-and-checking-balances)

```
