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(3y ago)034OSL-3.0PHP

Since Jun 20Pushed 3y 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 2d 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 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

1110d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k39](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[guanguans/notify

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

687114.3k8](/packages/guanguans-notify)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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