PHPackages                             diviky/laravel-notification-channel-vfirst - 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. diviky/laravel-notification-channel-vfirst

ActiveLibrary

diviky/laravel-notification-channel-vfirst
==========================================

Value First Notifications driver for sms

v1.0.2(5y ago)08MITPHPCI failing

Since Apr 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sankarsuda/laravel-notification-channel-vfirst)[ Packagist](https://packagist.org/packages/diviky/laravel-notification-channel-vfirst)[ Docs](https://github.com/sankarsuda/laravel-notification-channel-vfirst)[ RSS](/packages/diviky-laravel-notification-channel-vfirst/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Notifications channel for Laravel 5.3+
======================================

[](#notifications-channel-for-laravel-53)

Contents
--------

[](#contents)

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

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

[](#installation)

You can install the package via composer:

```
composer require diviky/laravel-notification-channel-vfirst
```

### Setting up your account

[](#setting-up-your-account)

Add your configuration to your `config/services.php`:

```
// config/services.php
...
'vfirst' => [
    'username' => env('VFIRST_USERNAME'), // optional when using auth token
    'password' => env('VFIRST_PASSWORD'), // optional when using auth token
    'from' => env('VFIRST_FROM'), // optional
],
...
```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use NotificationChannels\Vfirst\SmsChannel;
use NotificationChannels\Vfirst\Message;
use Illuminate\Notifications\Notification;

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

    public function toVfirst($notifiable)
    {
        return (new Message())
            ->text("Your {$notifiable->service} account was approved!");
    }
}
```

In order to let your Notification know which phone are you sending to, the channel will look for the `phone_number` attribute and `mobile` of the Notifiable model. If you want to override this behaviour, add the `routeNotificationForVfirst` method to your Notifiable model.

```
public function routeNotificationForMobtexting()
{
    return '+1234567890';
}
```

### Available Message methods

[](#available-message-methods)

- `from('')`: Accepts a phone to use as the notification sender.
- `text('')`: Accepts a string value for the notification body.
- `to('')`: Accepts a string value for the notification to (over writes default).

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

[](#contributing)

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

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

3

Last Release

2064d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99c172c42e19c2ad0db03c0596a00eb21047df990ba405bb2d1fd57204eb2c2f?d=identicon)[sankar.suda](/maintainers/sankar.suda)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/diviky-laravel-notification-channel-vfirst/health.svg)

```
[![Health](https://phpackages.com/badges/diviky-laravel-notification-channel-vfirst/health.svg)](https://phpackages.com/packages/diviky-laravel-notification-channel-vfirst)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

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

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/pusher-push-notifications

Pusher native Push Notifications driver.

282733.2k1](/packages/laravel-notification-channels-pusher-push-notifications)[s-ichikawa/laravel-sendgrid-driver

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

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

PHPackages © 2026

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