PHPackages                             nanadjei/mobiforte - 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. nanadjei/mobiforte

ActiveLibrary

nanadjei/mobiforte
==================

An sms package for mobiforte. http://mobiforte.com

v0.2.0(3y ago)117MITPHPPHP &gt;=5.6.4|^8.0

Since Mar 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nanadjei/mobiforte)[ Packagist](https://packagist.org/packages/nanadjei/mobiforte)[ RSS](/packages/nanadjei-mobiforte/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Mobiforte SMS
=============

[](#mobiforte-sms)

This package provides a convenient way to send SMS from your Laravel application with mobiforte.com as a service provider.

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

[](#installation)

Download and install Composer (from `http://www.getcomposer.org/download`) if you do not have it already installed on your machine.

#### Method 1:

[](#method-1)

Require this package:

```
composer require nanadjei/mobiforte
```

#### Method 2:

[](#method-2)

Require this package:

```
{
    "require": {
       "nanadjei/mobiforte": "0.2.*"
    }
}
```

and run this command.

```
composer update
```

After updating Composer, add the ServiceProvider to the providers array in config/app.php

### Laravel =&gt; 5.4

[](#laravel--54)

If you're using Laravel 5.5 and above, you can skip this step.

```
Nanadjei\Mobiforte\Mobiforte\MobiforteServiceProvider::class,
```

And the facade of the package to the $aliases array.

```
'MobiforteSms' => Nanadjei\Mobiforte\Facades\MobiforteSms::class
```

### Configuration

[](#configuration)

Before you can start sending SMS you will need to set your api keys and default sender ID in your `.env` file. You can find your api key and api secret here `https://web.mobiforte.com/developer` and publish your config.

```
php artisan vendor:publish --provider="Nanadjei\Mobiforte\MobiforteServiceProvider"
```

```
# In your root directory .env
# Note: Sender ID by default uses your app name (env('APP_NAME')). Sender Id must not exceed 11 characters.
MOBIFORTE_SMS_SENDER_ID=LaravelApp

MOBIFORTE_SMS_CLIENT_ID=YourClientId

MOBIFORTE_SMS_CLIENT_SECRET=YourClientSecrete

```

Usage
-----

[](#usage)

Below is a basic usage guide for sending SMS and checking SMS balance of your Mobiforte account.

```
# Basically sending sms uses api key set in .env file.
 MobiforteSms::send('02XXXXXXXX', "Hello from the other side.");

# Want to use a different api key?
 MobiforteSms::withFreshApiKeys("fresh_client_id", "fresh_client_secret")
   ->send("02XXXXXXXX", "Say hello from the other side.");

# To customize sender Id,
# NB: sender Id must not be more than 11 characters
MobiforteSms::from('CompanyName')->send('02XXXXXXXX', 'Say hello to a customer');
```

### Schedule When To Send Message

[](#schedule-when-to-send-message)

A date and time in Y-m-d H:i:s format. This DateTime should only be added when you want to schedule the message at a given time.

```
$dateTime = \Carbon\Carbon::now()->addMinutes(30); // format: 2017-05-02 00:59:00
MobiforteSms::schedule('02XXXXXXXX', 'I have responded after 30 mins', $dateTime);
```

### Check SMS balance

[](#check-sms-balance)

This will return your remaining balance.

```
MobiforteSms::balance();

# To check the balance using an api key different from the one set in the .env file
MobiforteSms::withFreshApiKeys("fresh_client_id", "fresh_client_secret")->balance();
```

Contributing
------------

[](#contributing)

Thank you for considering contributing to the package! To contribute, fork this repository, write some code and then submit a pull request to the develop branch 🤝

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

1104d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.6.4

v0.2.0PHP &gt;=5.6.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d069f94f7909912a440f85780543ec8431c1857abd52148a93003de7cf306f10?d=identicon)[nanadjei2](/maintainers/nanadjei2)

---

Top Contributors

[![nanadjei](https://avatars.githubusercontent.com/u/12156645?v=4)](https://github.com/nanadjei "nanadjei (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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