PHPackages                             forss/laravel-forss-sms-notifications - 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. forss/laravel-forss-sms-notifications

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

forss/laravel-forss-sms-notifications
=====================================

SMS Notification Driver for sms.forss.net

1.0.1(2y ago)034OSL-3.0PHP

Since Jun 20Pushed 2y ago1 watchersCompare

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

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

Laravel Forss SMS Notifications
===============================

[](#laravel-forss-sms-notifications)

### Setting up the forss API service

[](#setting-up-the-forss-api-service)

Extend `config/services.php` to read your Forss SMS API credentials from your `.env`:

```
return [
    ...

    'forss_sms' => [
        'username' => env('FORSS_SMS_USERNAME'),
        'password' => env('FORSS_SMS_PASSWORD'),
        'sender' => env('FORSS_SMS_SENDER'),
    ]
];
```

Add your Forss SMS API credentials to your `.env`:

```
FORSS_SMS_USERNAME=username
FORSS_SMS_PASSWORD=password
FORSS_SMS_SENDER=sender
```

Usage
=====

[](#usage)

### Create a notification

[](#create-a-notification)

Add a `toForssSms` method to your Notification class:

```
namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Forss\Laravel\Notifications\ForssSms\ForssSmsMessage;
use Forss\Laravel\Notifications\ForssSms\ForssSmsChannel;
class TestSms extends Notification
{
    use Queueable;

    /**
     * Create a new notification instance.
     */
    public function __construct()
    {
        //
    }

    /**
     * Get the notification's delivery channels.
     *
     * @return array
     */
    public function via(object $notifiable): array
    {
        return [ForssSmsChannel::class];
    }

    public function toForssSms() {
        return ForssSmsMessage::create('Hello World');
    }

}
```

Add a `routeNotificationForForssSms` method to your Notifiable class:

```
class User extends Authenticatable
{
    use Notifiable;

    public function routeNotificationForForssSms()
    {
        //Return whatever phone number to use for the SMS
        return $this->phone;
    }
}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

1056d ago

### Community

Maintainers

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

---

Top Contributors

[![stromgren](https://avatars.githubusercontent.com/u/971993?v=4)](https://github.com/stromgren "stromgren (1 commits)")

### Embed Badge

![Health badge](/badges/forss-laravel-forss-sms-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/forss-laravel-forss-sms-notifications/health.svg)](https://phpackages.com/packages/forss-laravel-forss-sms-notifications)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[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/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

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

Laravel notification driver for Discord.

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

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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