PHPackages                             randhipp/wafvel-notification - 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. randhipp/wafvel-notification

ActiveLibrary

randhipp/wafvel-notification
============================

Laravel Notification Channel - Whatsapp chat - using POST request to wafvel.com API

0.0.1.x-dev(5y ago)01MITPHPPHP &gt;=7.3

Since Dec 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/randhipp/wafvel-notification)[ Packagist](https://packagist.org/packages/randhipp/wafvel-notification)[ RSS](/packages/randhipp-wafvel-notification/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

Whatsapp notifications channel for Laravel
==========================================

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

This package makes it easy to send whatsapp using the Laravel notification system.

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

[](#installation)

You can install the package via composer:

```
composer require randhipp/wafvel-notification
```

Usage
-----

[](#usage)

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

```
use Wafvel\Notification\WafvelChannel;
use Wafvel\Notification\WafvelMessage;
use Illuminate\Notifications\Notification;

class ProjectCreated extends Notification
{
    protected $data;

    public function __construct($data = null)
    {
        $this->data = $data;
    }

    public function via($notifiable)
    {
        return [WafvelChannel::class];
    }

    public function toWafvel($notifiable)
    {
        $message = $this->data ?? "Your Chat Message\nNew Line";

        return WafvelMessage::create()
            ->token('') // bot token, if not specified will using env value WAFVEL_BOT_TOKEN
            ->phone('628123456789') // format : 628123456789 => {countrycode:id}{phonenumber_without_leading_zero:08123456789}
            ->message($message);
    }
}
```

### Available methods

[](#available-methods)

- `token('')`: Accepts a token from wafvel.com - [register free!](https://wafvel.com/register)
- `phone('')`: Accepts a recipient phone number
- `message('')`: Accepts a string value for the message

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

This Project based on Webhook Notification Channel by [Marcel Pociot](https://github.com/mpociot)

License
-------

[](#license)

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1981d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4007e8cc47f58c22b700f27dfe2d367be9bf972b2f375a7885e160ea67e2ac29?d=identicon)[randhipp](/maintainers/randhipp)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/randhipp-wafvel-notification/health.svg)

```
[![Health](https://phpackages.com/badges/randhipp-wafvel-notification/health.svg)](https://phpackages.com/packages/randhipp-wafvel-notification)
```

###  Alternatives

[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89069.7M111](/packages/laravel-slack-notification-channel)[spatie/laravel-health

Monitor the health of a Laravel application

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

Telegram Notifications Channel for Laravel

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

A Laravel Notification Channel for Microsoft Teams

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

PHPackages © 2026

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