PHPackages                             karbura/nexah-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. karbura/nexah-sms

ActivePhp-module[Mail &amp; Notifications](/categories/mail)

karbura/nexah-sms
=================

This package allow you to send SMS to one or more number via the Nexah API

001PHP

Since Dec 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/karbura-team/sms-nexah)[ Packagist](https://packagist.org/packages/karbura/nexah-sms)[ RSS](/packages/karbura-nexah-sms/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple PHP class to send SMS via the Nexah API
==============================================

[](#simple-php-class-to-send-sms-via-the-nexah-api)

About
-----

[](#about)

A [PHP](https://php.net) class, which implements the [Nexah](https://sms.nexah.net) API to send SMS.

It focuses on sending messages via [Nexah](https://sms.nexah.net) API, and returns a boolean according to the success or the failure of the send method inside the class.

To get a Nexah account and start using their API, visit [nexah/contac-us](https://nexah.net/contact-us). Once there, fulfill the contact form and submit. Once done, you will get an email and an amployee of Nexah will give you a call for your account configuration.

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

[](#requirements)

- You need to have an account as describe above [nexah/contac-us](https://nexah.net/contact-us).
- Your username and password
- [PHP 7.4 or higher](http://www.php.net/downloads.php)

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

[](#installation)

Installation is recommended to be done via \[composer\]\[\] by running:

```
composer require karbura/nexah-sms

```

Alternatively you can add the following to the `require` section in your `composer.json` manually:

```
"karbura/nexah-sms"
```

Run `composer update` afterwards.

Usage
-----

[](#usage)

```
// Instantiate the Nexahsms class into the file where you want to send and SMS
$sms = new NexahSMS();

//  In the NexahSMS class, there is a method send_sms()
//  this method takes as parameters:
//  $user = your login received by Nexah team
//  $password = your login password received by Nexah team
//  $senderid = your name
//  $sms = the message to be sent
//  $mobiles = a number in string format or a coma seperated string of numbers to receive the message
$sms->send_sms($user, $password, $senderid, $sms, $modiles);

//  An example of this is the following
$sms->send_sms("myloginemail@email.com", "myloginpassword", "My Name", "My message here", "xxxxxxxxx, xxxxxxxxx, xxxxxxxxx");
```

Thank you for using this extension and if there is any problem, feel free to report it.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/53cd9f71480914624ceb7f257039ce4b6a14de2c39eb3b599e04808840d29021?d=identicon)[karbura](/maintainers/karbura)

---

Top Contributors

[![GeorgesLevyEtoundi](https://avatars.githubusercontent.com/u/89618863?v=4)](https://github.com/GeorgesLevyEtoundi "GeorgesLevyEtoundi (7 commits)")

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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