PHPackages                             neolikotsi/php-smsportal - 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. neolikotsi/php-smsportal

ActiveLibrary[API Development](/categories/api)

neolikotsi/php-smsportal
========================

SMS Portal API for PHP

1.0.13(4y ago)13.8k↓40%22MITPHPPHP ^7.0.0 | ^8.0

Since May 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/neolikotsi/php-smsportal)[ Packagist](https://packagist.org/packages/neolikotsi/php-smsportal)[ RSS](/packages/neolikotsi-php-smsportal/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (15)Used By (2)

PHP-SmsPortal
=============

[](#php-smsportal)

SMS Portal API for PHP

Send SMS from your PHP client API powered by [SMSPortal](https://www.smsportal.com/).

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

[](#installation)

Install the composer package `neolikotsi/php-smsportal`

```
composer required neolikotsi/php-smsportal
```

Usage
-----

[](#usage)

Create an instance of `NeoLikotsi\SMSPortal\RestClient` and use it to hit the endpoints of the [SMSPortal RESTful API](https://docs.smsportal.com/docs/rest)

```
use NeoLikotsi\SMSPortal\Message;
use NeoLikotsi\SMSPortal\RestClient;

$apiId = 'YOUR CLIENT API ID';
$apiSecret = 'YOUR CLIENT SECRET';
$baseRestUri = 'https://rest.smsportal.com/v1/';

$client = new RestClient($apiId, $apiSecret, $baseRestUri);
$message = new Message('Hello World');

// send to /bulkmessages endpoint
$responseArray1 = $client->message()->send([
                    'messages' => [
                        [
                            'destination' => '1234567890'
                            'content' => $message->getContent(),
                        ]
                    ]
                ]);

// send to /groupmessages endpoint
$responseArray2 = $client->message()->sendToGroup([
                    'message' => $message->getContent(),
                    'groups' => ['BloemfonteinStores', 'BotshabeloStores'],
                ]);
```

Balance
-------

[](#balance)

You can check your SMS credit with the `balance` method.

```
$client->balance();
```

Test Mode ([see api doc](https://docs.smsportal.com/docs/rest-sending))
-----------------------------------------------------------------------

[](#test-mode-see-api-doc)

```
$client->message()->inTestMode()->send([
    'messages' => [
        [
            'destination' => '1234567890'
            'content' => $message->getContent(),
        ]
    ]
]);
```

For Laravel users see package
-----------------------------

[](#for-laravel-users-see-package)

[neolikotsi/laravel-smsportal](https://github.com/neolikotsi/laravel-smsportal)

License
-------

[](#license)

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

Sponsor
-------

[](#sponsor)

₿ BTC Wallet: 18YGRct3jRxkRyxsHG5ByLCkUef7MdXNMw

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~60 days

Recently: every ~139 days

Total

14

Last Release

1783d ago

PHP version history (3 changes)1.0.0PHP ^7.1.3

1.0.9PHP ^7.0.0

1.0.12PHP ^7.0.0 | ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/708a9d3fbe214c757b76c9be0785145425b946218c26b215b1d0af68d8cc4873?d=identicon)[neolikotsi](/maintainers/neolikotsi)

---

Top Contributors

[![neolikotsi](https://avatars.githubusercontent.com/u/7394627?v=4)](https://github.com/neolikotsi "neolikotsi (9 commits)")[![JohnRoux](https://avatars.githubusercontent.com/u/4610241?v=4)](https://github.com/JohnRoux "JohnRoux (2 commits)")

---

Tags

phpsmssms-clientsmsphp-smssms portalsms-client api

### Embed Badge

![Health badge](/badges/neolikotsi-php-smsportal/health.svg)

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

###  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)[signalwire-community/signalwire

Client library for connecting to SignalWire.

23126.2k](/packages/signalwire-community-signalwire)

PHPackages © 2026

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