PHPackages                             multicaret/laravel-unifonic - 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. multicaret/laravel-unifonic

ActiveLibrary[API Development](/categories/api)

multicaret/laravel-unifonic
===========================

 A library to integrate with Unifonic API to send SMS

v2.1.0(2y ago)25182.9k↓34.5%13[3 issues](https://github.com/multicaret/laravel-unifonic/issues)2MITPHPPHP &gt;=7.1.0

Since Feb 15Pushed 2y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (3)Versions (7)Used By (2)

[![](https://camo.githubusercontent.com/d19e51e3c985fc192f85bc3fa02018ee8636be48ff836e99240d1b213b0c7716/687474703a2f2f63646e2e6d756c746963617265742e636f6d2f7061636b616765732f6173736574732f696d672f756e69666f6e69632d6c6f676f2e706e67)](https://camo.githubusercontent.com/d19e51e3c985fc192f85bc3fa02018ee8636be48ff836e99240d1b213b0c7716/687474703a2f2f63646e2e6d756c746963617265742e636f6d2f7061636b616765732f6173736574732f696d672f756e69666f6e69632d6c6f676f2e706e67)

Laravel Unifonic 8.x +
======================

[](#laravel-unifonic-8x-)

Start sending SMS with Unifonic right away using Laravel.

[![Total Downloads](https://camo.githubusercontent.com/8abfbf909f27928e6a45dd0bbc6f5294fa152af41ac3b7b9da3d66babdcf37cf/68747470733a2f2f706f7365722e707567782e6f72672f6d756c746963617265742f6c61726176656c2d756e69666f6e69632f642f746f74616c2e737667)](https://packagist.org/packages/multicaret/laravel-unifonic)[![Latest Stable Version](https://camo.githubusercontent.com/b56cbf7d5fa56df6a0db0757f051e7fb2957434d2a52d7a1a2460955da87af67/68747470733a2f2f706f7365722e707567782e6f72672f6d756c746963617265742f6c61726176656c2d756e69666f6e69632f762f737461626c652e737667)](https://packagist.org/packages/multicaret/laravel-unifonic)[![License](https://camo.githubusercontent.com/ff50badbe4082520c9120277f1adca7258c2eb7a35512c8428539f8a605c713b/68747470733a2f2f706f7365722e707567782e6f72672f6d756c746963617265742f6c61726176656c2d756e69666f6e69632f6c6963656e73652e737667)](https://packagist.org/packages/multicaret/laravel-unifonic)

---

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

[](#installation)

First, install the package through Composer.

```
$ composer require multicaret/laravel-unifonic
```

#### Laravel 5.5 and up

[](#laravel-55-and-up)

You don't have to do anything else, this package uses the package Auto-Discovery feature, and should be available as soon as you install it via Composer.

#### Laravel 5.4 and below

[](#laravel-54-and-below)

Then include the service provider inside `config/app.php`.

```
'providers' => [
    ...
    Multicaret\Unifonic\UnifonicServiceProvider::class,
    ...
];
```

And add the alias as well

```
'aliases' => [
    ...
    'Unifonic' => Multicaret\Unifonic\UnifonicFacade::class,
    ...
],
```

Configurations
--------------

[](#configurations)

Head to [Dashboard](https://communication.cloud.unifonic.com/application) to create a new Application (check image below if you wish). Within in this app, you will find the `APP SID` copy it please. Now add these to your `config/services.php` file:

```
'unifonic' => [
    'app_id' => env('UNIFONIC_APP_ID'),
    'sender_id' => env('UNIFONIC_SENDER_ID'), // String, Optional
    'account_email' => env('UNIFONIC_ACCOUNT_EMAIL'),
    'account_password' => env('UNIFONIC_ACCOUNT_PASSWORD')
],

```

[![](https://camo.githubusercontent.com/202acfd7cf30cefbc98d6a48cdfc35456bc4356fc72d00e006b075b116041861/687474703a2f2f63646e2e6d756c746963617265742e636f6d2f7061636b616765732f6173736574732f696d672f756e69666f6e69632d6170702d7369642d696e737472756374696f6e732e706e67)](https://camo.githubusercontent.com/202acfd7cf30cefbc98d6a48cdfc35456bc4356fc72d00e006b075b116041861/687474703a2f2f63646e2e6d756c746963617265742e636f6d2f7061636b616765732f6173736574732f696d672f756e69666f6e69632d6170702d7369642d696e737472756374696f6e732e706e67)

Now Place these in your `.env` file.

```
UNIFONIC_APP_ID=
UNIFONIC_SENDER_ID=
UNIFONIC_ACCOUNT_EMAIL=
UNIFONIC_ACCOUNT_PASSWORD=

```

---

Usage
-----

[](#usage)

#### Account related methods:

[](#account-related-methods)

```
// To test credentials and make sure the APP SID, email & password are set correctly.
Unifonic::retrieveCredentialsForTesting();
```

#### Messages related methods:

[](#messages-related-methods)

```
Unifonic::send(int $recipient, string $message, string $senderID = null);
Unifonic::getMessageIDStatus(int $messageID);
```

You may make asynchronous calls to Unifonic API, by prefixing your methods with the `async()` function:

```
Unifonic::async(true); // async calls on, default value is true
Unifonic::async(false);// async calls off

// Later you can append the callback() to be executed when the response returns.
Unifonic::async()->callback(Callable $requestCallback);
```

For more details about the parameters please refer to the [Api Documentation](https://developer.unifonic.com/) for more info, or read the [source code](https://github.com/multicaret/laravel-unifonic/blob/master/src/UnifonicClient.php).

### Contributing

[](#contributing)

See the [CONTRIBUTING](CONTRIBUTING.md) guide.

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information about what has changed recently.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~345 days

Recently: every ~431 days

Total

6

Last Release

923d ago

Major Versions

v1.x-dev → v2.0.02020-10-22

### Community

Maintainers

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

---

Top Contributors

[![mkwsra](https://avatars.githubusercontent.com/u/1743919?v=4)](https://github.com/mkwsra "mkwsra (5 commits)")[![MahmoudQassass](https://avatars.githubusercontent.com/u/45649866?v=4)](https://github.com/MahmoudQassass "MahmoudQassass (1 commits)")[![muhammedkamel](https://avatars.githubusercontent.com/u/13101778?v=4)](https://github.com/muhammedkamel "muhammedkamel (1 commits)")

---

Tags

2falaravellaravel-unifonicsmsunifonic-apiapilaravelverify2fasmsttsunifonicnumber intelligence

### Embed Badge

![Health badge](/badges/multicaret-laravel-unifonic/health.svg)

```
[![Health](https://phpackages.com/badges/multicaret-laravel-unifonic/health.svg)](https://phpackages.com/packages/multicaret-laravel-unifonic)
```

###  Alternatives

[melipayamak/laravel

Laravel Melipayamak Integration

2528.9k1](/packages/melipayamak-laravel)

PHPackages © 2026

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