PHPackages                             kangkoding/laravel-notif-waha - 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. kangkoding/laravel-notif-waha

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

kangkoding/laravel-notif-waha
=============================

WAHA Notifications channel untuk laravel versi 12

1.0.0(5mo ago)011MITPHPPHP ^8.1

Since Nov 27Pushed 5mo agoCompare

[ Source](https://github.com/kangkoding-nub/laravel-notif-waha)[ Packagist](https://packagist.org/packages/kangkoding/laravel-notif-waha)[ Docs](https://github.com/kangkoding-nub/laravel-notif-waha)[ RSS](/packages/kangkoding-laravel-notif-waha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)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 kangkoding-nub/waha-laravel-notification
```

Then you must install the service provider:

```
// bootstrap/providers.php
[
    ...
    NotificationChannels\Waha\WahaServiceProvider::class,
],
```

### Setting up the WAHA service

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

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

```
// config/services.php
...
'waha' => [
    'apiUrl' => env('WAHA_API_URL'),
    'sessionId' => env('WAHA_SESSION_ID'),
    'apiKey' => env('WAHA_API_KEY'),
    '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)

- [kangKoding-Nub](https://github.com/kangkoding-nub)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance71

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

166d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/048ce340570de4f3b9499a6855ab52665cf19dc9d5a0846540ca224de89d0500?d=identicon)[kangkoding-nub](/maintainers/kangkoding-nub)

---

Top Contributors

[![kangkoding-nub](https://avatars.githubusercontent.com/u/246468312?v=4)](https://github.com/kangkoding-nub "kangkoding-nub (3 commits)")

---

Tags

laravelnotificationswaha

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kangkoding-laravel-notif-waha/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[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/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[benwilkins/laravel-fcm-notification

Laravel FCM (Firebase Cloud Messaging) Notification Channel

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

SmscRu Notifications channel for Laravel 5.3.

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

PHPackages © 2026

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