PHPackages                             zapmizer/laravel-notification-zapmizer - 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. zapmizer/laravel-notification-zapmizer

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

zapmizer/laravel-notification-zapmizer
======================================

A Laravel package to send WhatsApp notifications using Zapmizer API

v1.0.1(1y ago)21.5k↑271.4%3MITPHPPHP ^8.2

Since Jul 18Pushed 3w ago2 watchersCompare

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

READMEChangelog (6)Dependencies (5)Versions (11)Used By (0)

Zapmizer WhatsApp notification channel for Laravel 11
=====================================================

[](#zapmizer-whatsapp-notification-channel-for-laravel-11)

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

[](#installation)

You can install the package via composer:

```
composer require zapmizer/laravel-notification-zapmizer
```

Now publish config file

```
php artisan vendor:publish --provider="Notification\Zapmizer\ZapmizerServiceProvider" --tag=config --force
```

### Setting up your Zapmizer account

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

1. [Create a API TOKEN.](https://app.zapmizer.com/user/api-tokens)
2. Paste your API token in your `zapmizer.php` config file.
3. Add environment viariables with values

```
    ZAPMIZER_API_TOKEN="your-api-token"
    ZAPMIZER_FROM_NUMBER="558181643260"
```

Usage
-----

[](#usage)

In every Notification you wish to notify via WhatsApp, you must add a toZapmizer function and add 'zapmizer' drive into via's array:

```
    /**
     * Get the notification's delivery channels.
     *
     * @return array
     */
    public function via(object $notifiable): array
    {
        return ['mail', 'zapmizer'];
    }

    /**
     * Get the WhatsApp representation of the notification.
     */
    public function toZapmizer(object $notifiable)
    {
        $message = 'This is a message!' . PHP_EOL;

        //WID must follow the WhatsApp pattern, example: 558181643260; 558181643260@c.us 128172192@g.us(groups)

        return ZapmizerMessage::create(from: config('zapmizer.from_number'), to: $notifiable->wid)->type('chat')->text($message)->send();
    }
```

Number verification
-------------------

[](#number-verification)

Mirroring Laravel's `MustVerifyEmail`: implement an interface and use a trait on your `User` model, and it gains the verification methods you'd expect. The user verifies through a hosted page on the Zapmizer domain — they message the team's WhatsApp number via wa.me and type back the code the bot replies with. Your app confirms the code (hosted page or your own input) and/or receives the terminal state on the team's webhooks. State lives in the package's own tables — your `users` table is never touched.

```
use NotificationChannels\Zapmizer\Contracts\MustVerifyWhatsapp as MustVerifyWhatsappContract;
use NotificationChannels\Zapmizer\MustVerifyWhatsapp;

class User extends Authenticatable implements MustVerifyWhatsappContract
{
    use MustVerifyWhatsapp;
}
```

```
Verify your WhatsApp
```

```
$user->hasVerifiedWhatsapp(); // true after the user completes the hosted page
```

**See the full setup guide — credentials, env vars, migrations, User model, signed return URL, confirmation webhook and events — in [docs/verify-number.md](docs/verify-number.md).**

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance67

Regular maintenance activity

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~146 days

Total

9

Last Release

22d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8920952?v=4)[Paulo Peixoto](/maintainers/ppeixoto)[@ppeixoto](https://github.com/ppeixoto)

---

Top Contributors

[![chumarrento](https://avatars.githubusercontent.com/u/44215764?v=4)](https://github.com/chumarrento "chumarrento (14 commits)")[![ppeixoto](https://avatars.githubusercontent.com/u/8920952?v=4)](https://github.com/ppeixoto "ppeixoto (10 commits)")[![gcaraciolo](https://avatars.githubusercontent.com/u/3915884?v=4)](https://github.com/gcaraciolo "gcaraciolo (9 commits)")[![tuliocrr](https://avatars.githubusercontent.com/u/4925277?v=4)](https://github.com/tuliocrr "tuliocrr (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[laravel-notification-channels/expo

Expo Notifications Channel for Laravel

67628.6k1](/packages/laravel-notification-channels-expo)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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