PHPackages                             shiroamada/waha-laravel-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. shiroamada/waha-laravel-notification

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

shiroamada/waha-laravel-notification
====================================

WAHA Notifications channel for Laravel 11 and Above

v11.0.0(7mo ago)0164MITPHPPHP ^8.1

Since May 22Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/shiroamada/waha-laravel-notification)[ Packagist](https://packagist.org/packages/shiroamada/waha-laravel-notification)[ Docs](https://github.com/shiroamada/waha-laravel-notification)[ RSS](/packages/shiroamada-waha-laravel-notification/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

WAHA notifications channel for Laravel 11+
==========================================

[](#waha-notifications-channel-for-laravel-11)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e51f7817c0dfc652ebaa1c7d6249ac457ca4301cb8db74d6b2c144b88270d537/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736869726f616d6164612f776168612d6c61726176656c2d6e6f74696669636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shiroamada/waha-laravel-notification)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/55361036ea31b080a8dda4e53b2d4562bfbfed6bdc0788a9ac5707fd98c09c5d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736869726f616d6164612f776168612d6c61726176656c2d6e6f74696669636174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/shiroamada/waha-laravel-notification)[![StyleCI](https://camo.githubusercontent.com/bf1c608713e682f212c3c4d6ebf4ba88fac89523c7be89759dfd130018839cd8/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130383530333034332f736869656c64)](https://styleci.io/repos/108503043)[![Quality Score](https://camo.githubusercontent.com/163ee70de0d80f5fd1a076c7d81a60e2b4077b472743c81c0a1dddd79a2fdf5b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f776168612d6c61726176656c2d6e6f74696669636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/waha-laravel-notification)[![Code Coverage](https://camo.githubusercontent.com/63e032de9534cb5a9975f2bf32bb4c0195e5cd752953d87e9f3c526195eee086/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f776168612d6c61726176656c2d6e6f74696669636174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/shiroamada/waha-laravel-notification/?branch=main)[![Total Downloads](https://camo.githubusercontent.com/3d377b1c4cf86bab90dd2e00338a5ddeb4bef2008c93c54ce8d4184c4f9980fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736869726f616d6164612f776168612d6c61726176656c2d6e6f74696669636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shiroamada/waha-laravel-notification)

This package makes it easy to send notifications using  with Laravel 11+.

Code Reference from laravel-notification-channels/smsc-ru

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the WAHA service](#setting-up-the-waha-service)
- [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 shiroamada/waha-laravel-notification
```

Then you must install the service provider:

```
// config/app.php
'providers' => [
    ...
    NotificationChannels\Waha\WahaServiceProvider::class,
],
```

### Setting up the WAHA service

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

Add your waha instanceId and token to your `config/services.php`:

```
// config/services.php
...
'waha' => [
    'apiUrl' => env('WAHA_API_URL'),
    'sessionId' => env('WAHA_SESSION_ID'),
    'token' => env('WAHA_TOKEN'),
    'isMalaysiaMode' => env('WAHA_MALAYSIA_MODE') ?? 0,
    'isEnable' => env('WAHA_ENABLE') ?? 0,
    'isDebug' => env('WAHA_DEBUG_ENABLE') ?? 0,
    'debugReceiveNumber' => env('WAHA_DEBUG_RECEIVE_NUMBER'),
],
...
```

Usage
-----

[](#usage)

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

```
use Illuminate\Notifications\Notification;
use NotificationChannels\Waha\WahaMessage;
use NotificationChannels\Waha\WahaChannel;

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

    public function toWaha($notifiable)
    {
        return WahaMessage::create("Task #{$notifiable->id} is complete!");
    }
}
```

In your notifiable model, make sure to include a routeNotificationForWaha() method, which return the phone number.

```
public function routeNotificationForWaha()
{
    return $this->mobile; //depend what is your db field
}
```

### Available methods

[](#available-methods)

`content()`: Set a content of the notification message.

`sendAt()`: Set a time for scheduling the notification message.

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)

- [ShiroAmada](https://github.com/shiroamada)
- [All Contributors](../../contributors)

License
-------

[](#license)

The Apache License Version 2.0. Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 81% of packages

Maintenance63

Regular maintenance activity

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

3

Last Release

228d ago

Major Versions

v1.x-dev → v11.0.02025-08-06

PHP version history (2 changes)v1.0.0PHP ^7.1

v11.0.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelnotificationswaha

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shiroamada-waha-laravel-notification/health.svg)

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

###  Alternatives

[benwilkins/laravel-fcm-notification

Laravel FCM (Firebase Cloud Messaging) Notification Channel

212962.0k1](/packages/benwilkins-laravel-fcm-notification)[laravel-notification-channels/smsc-ru

SmscRu Notifications channel for Laravel 5.3.

51190.9k](/packages/laravel-notification-channels-smsc-ru)

PHPackages © 2026

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