PHPackages                             alaaelsaid/laravel-wati-whatsapp - 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. [API Development](/categories/api)
4. /
5. alaaelsaid/laravel-wati-whatsapp

ActiveLibrary[API Development](/categories/api)

alaaelsaid/laravel-wati-whatsapp
================================

A Laravel package for integration with WATI WhatsApp service

1.0.1(1y ago)03.0k1[1 issues](https://github.com/alaaels3id/laravel-wati-whatsapp/issues)MITPHP

Since Sep 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/alaaels3id/laravel-wati-whatsapp)[ Packagist](https://packagist.org/packages/alaaelsaid/laravel-wati-whatsapp)[ RSS](/packages/alaaelsaid-laravel-wati-whatsapp/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Laravel WATI WhatsApp Integration Package
=========================================

[](#laravel-wati-whatsapp-integration-package)

A clean, modern Laravel package for integrating with the **WATI WhatsApp Business API**.

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

[](#installation)

Install the package via [Composer](https://getcomposer.org):

```
composer require alaaelsaid/laravel-wati-whatsapp
```

Publishing Configuration
------------------------

[](#publishing-configuration)

Publish the config file:

```
php artisan vendor:publish --tag="wati-config"
```

Environment Variables
---------------------

[](#environment-variables)

Add the following keys to your `.env` file:

```
WATI_TEMPLATE=your_default_template_name
WATI_ENDPOINT=https://live-server-123.wati.io
WATI_ACCESS_TOKEN=your_wati_access_token
WATI_DEFAULT_COUNTRY_CODE=966
```

Usage
-----

[](#usage)

### 1. Sending Single WhatsApp Template Message

[](#1-sending-single-whatsapp-template-message)

```
use Alaaelsaid\LaravelWatiWhatsapp\Facade\Whatsapp;

// Send using default template from config
Whatsapp::send('+966501234567', "Hello world", "John Smith");

// Send using custom template & custom parameters
Whatsapp::send(
    phone: '+966501234567',
    template: 'order_update_template',
    customParams: [
        ['name' => 'name', 'value' => 'John Smith'],
        ['name' => 'order_id', 'value' => 'ORD-9921'],
        ['name' => 'status', 'value' => 'Shipped']
    ]
);
```

### 2. Sending Bulk Template Messages (`multi`)

[](#2-sending-bulk-template-messages-multi)

```
// $users can be an array or Eloquent collection
Whatsapp::multi(
    message: "Your appointment is confirmed.",
    users: $users,
    column: 'phone',
    name: 'name'
);
```

### 3. Sending Direct Session Message (`sendSessionMessage`)

[](#3-sending-direct-session-message-sendsessionmessage)

Send direct session text message outside of template broadcasts:

```
Whatsapp::sendSessionMessage('+966501234567', 'Thank you for reaching out!');
```

### 4. Phone Number Utility (`MobilePhone`)

[](#4-phone-number-utility-mobilephone)

```
use Alaaelsaid\LaravelWatiWhatsapp\Facade\MobilePhone;

// Convert Arabic numerals to English numerals
$number = MobilePhone::to_english_number('۰۱۲۳٤٥٦۷۸۹'); // Outputs: "0123456789"

// Format phone with country prefix
$prefixed = MobilePhone::setCountryCode('966')->prefixed('0501234567'); // Outputs: "+966501234567"
```

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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

Total

2

Last Release

690d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/43482a7114cef02f9387b510c3f0fb7d7c53b0f152e8e4d97e63ee821686f9e0?d=identicon)[alaaels3id](/maintainers/alaaels3id)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/alaaelsaid-laravel-wati-whatsapp/health.svg)

```
[![Health](https://phpackages.com/badges/alaaelsaid-laravel-wati-whatsapp/health.svg)](https://phpackages.com/packages/alaaelsaid-laravel-wati-whatsapp)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)[pimax/fb-messenger-php

Facebook Messenger Bot PHP API

313188.5k2](/packages/pimax-fb-messenger-php)

PHPackages © 2026

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