PHPackages                             fitprime/l9-smsapi-notification-channel - 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. fitprime/l9-smsapi-notification-channel

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

fitprime/l9-smsapi-notification-channel
=======================================

SMSAPI notification channel for Laravel 10+

2.0.0(10mo ago)2613↓100%MITPHPPHP ^8.1CI passing

Since Jun 30Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/FitprimeLabs/L9-smsapi-notification-channel)[ Packagist](https://packagist.org/packages/fitprime/l9-smsapi-notification-channel)[ Docs](https://github.com/FitprimeLabs/L9-smsapi-notification-channel)[ RSS](/packages/fitprime-l9-smsapi-notification-channel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (10)Used By (0)

Laravel 9 SMSAPI notification channel
=====================================

[](#laravel-9-smsapi-notification-channel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2f12258cc5cb0e195a1fd5233b3d18bed0b0f6f4106f544f2d2cbb6c909a2a97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6669747072696d652f6c392d736d736170692d6e6f74696669636174696f6e2d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fitprime/l9-smsapi-notification-channel)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![StyleCI](https://camo.githubusercontent.com/b904890d5c7e825f50c5d1fc7d5a2a182799376095556daf201238a449006277/68747470733a2f2f7374796c6563692e696f2f7265706f732f3530393134383631372f736869656c64)](https://styleci.io/repos/509148617)[![Total Downloads](https://camo.githubusercontent.com/7e61fb185f8a8decf99a25af47e5f518414b3292e8154a1a7e818ae14a477301/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6669747072696d652f6c392d736d736170692d6e6f74696669636174696f6e2d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fitprime/l9-smsapi-notification-channel)

This package makes it easy to send notifications using [SMSAPI](https://www.smsapi.com/it) with Laravel 9.x

Easy to use notification channel for Laravel 9.x.

```
$user->notify(new TestSms('This is a test message'));
```

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the L9SmsApi service](#setting-up-the-L9SmsApi-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

```
composer require fitprime/l9-smsapi-notification-channel

```

Create an account on [SMSAPI](https://www.smsapi.com/it) and get your API token. Put your api key in the .env file in the root directory of your application.

```
SMSAPI_AUTH_TOKEN=
```

### Setting up the L9SmsApi service

[](#setting-up-the-l9smsapi-service)

If you needs to change the default setting for your app you must publish the configuration file.

Usage
-----

[](#usage)

### Send a message

[](#send-a-message)

```
use Illuminate\Notifications\Notification;
use Fitprime\L9SmsApi\L9SmsApiChannel;
use Fitprime\L9SmsApi\L9SmsApiMessage;

class TestSms extends Notification
{
    public function via($notifiable)
    {
        return [L9SmsApiChannel::class];
    }

    public function toL9Smsapi($notifiable)
    {
        return (new L9SmsApiMessage())
            ->content( 'Text message content' )
            ->to($notifiable->phone_number);
    }
}
```

### Available Message methods

[](#available-message-methods)

`content()` set the SMS message content

`to()` set the SMS message recipient

`sender()` set the SMS message sender

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please use the issue tracker.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Federico Maiorini](https://github.com/Procionegobbo)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance55

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 88% 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 ~138 days

Recently: every ~218 days

Total

9

Last Release

302d ago

Major Versions

v1.3.1 → 2.0.02025-07-14

PHP version history (2 changes)v1.0.0PHP &gt;=8.0

2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/1afd73e0608e82576ee52b66667a30b4c6eb590eaa0fc9c8aba676fa4edd3636?d=identicon)[Procionegobbo](/maintainers/Procionegobbo)

---

Top Contributors

[![Procionegobbo](https://avatars.githubusercontent.com/u/1417079?v=4)](https://github.com/Procionegobbo "Procionegobbo (22 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fitprime-l9-smsapi-notification-channel/health.svg)

```
[![Health](https://phpackages.com/badges/fitprime-l9-smsapi-notification-channel/health.svg)](https://phpackages.com/packages/fitprime-l9-smsapi-notification-channel)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/webpush

Web Push Notifications driver for Laravel.

7984.5M16](/packages/laravel-notification-channels-webpush)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

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

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)

PHPackages © 2026

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