PHPackages                             junandia/larawaba - 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. junandia/larawaba

ActiveLibrary[API Development](/categories/api)

junandia/larawaba
=================

Simple WhatsApp Business SDK for Laravel applications.

v1.0.1(1mo ago)02MITPHPPHP ^8.1

Since Apr 28Pushed 1mo agoCompare

[ Source](https://github.com/junandia/larawaba)[ Packagist](https://packagist.org/packages/junandia/larawaba)[ RSS](/packages/junandia-larawaba/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Larawaba: WhatsApp Business Cloud API SDK for Laravel
=====================================================

[](#larawaba-whatsapp-business-cloud-api-sdk-for-laravel)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![Latest Stable Version](https://camo.githubusercontent.com/f0fa8e158ce600c9dbbffc8ba4e2e88bf172dba0540581143778248e5eb3f599/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a756e616e6469612f6c617261776162612e737667)](https://packagist.org/packages/junandia/larawaba)

[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)

---

English
-------

[](#english)

**Larawaba** is a lightweight and efficient Laravel SDK for interacting with the **WhatsApp Business Cloud API (Meta)**. Designed for ease of use with auto-discovery features, automatic webhook management, and an event-driven architecture.

### Features

[](#features)

- **Zero Config Webhook**: Automatic verification and webhook handler.
- **Event-Driven**: Uses Laravel Event `MessageReceived` to process incoming messages.
- **Fluent Messaging**: Send text messages with a single line of code.
- **Auto-Discovery**: Automatically registered in your Laravel application.

### Installation

[](#installation)

```
composer require junandia/larawaba
```

### Configuration

[](#configuration)

Add your credentials to your `.env` file:

```
WABA_TOKEN=your-meta-access-token
WABA_PHONE_ID=your-phone-number-id
WABA_VERIFY_TOKEN=your-custom-verify-token
WABA_GRAPH_VERSION=v20.0
```

### Usage

[](#usage)

#### 1. Sending Messages

[](#1-sending-messages)

```
use Junandia\Larawaba\WhatsAppClient;

$wa = app(WhatsAppClient::class);
$wa->sendText('628123456789', 'Hello from Larawaba SDK!');
```

#### 2. Handling Incoming Messages (Listener)

[](#2-handling-incoming-messages-listener)

Register the listener in `AppServiceProvider.php`:

```
use Junandia\Larawaba\Events\MessageReceived;
use App\Listeners\ProcessWhatsAppMessage;
use Illuminate\Support\Facades\Event;

Event::listen(MessageReceived::class, ProcessWhatsAppMessage::class);
```

---

Bahasa Indonesia
----------------

[](#bahasa-indonesia)

**Larawaba** adalah SDK Laravel yang ringan dan efisien untuk berinteraksi dengan **WhatsApp Business Cloud API (Meta)**. Didesain untuk kemudahan penggunaan dengan fitur *auto-discovery*, manajemen webhook otomatis, dan arsitektur berbasis *event*.

### Fitur Utama

[](#fitur-utama)

- **Zero Config Webhook**: Verifikasi dan handler webhook otomatis.
- **Event-Driven**: Menggunakan Event Laravel `MessageReceived` untuk memproses pesan masuk.
- **Fluent Messaging**: Kirim pesan teks hanya dengan satu baris kode.
- **Auto-Discovery**: Otomatis terdaftar di aplikasi Laravel Anda.

### Instalasi

[](#instalasi)

```
composer require junandia/larawaba
```

### Konfigurasi

[](#konfigurasi)

Tambahkan kredensial WhatsApp Business Anda ke dalam file `.env`:

```
WABA_TOKEN=token-akses-meta-anda
WABA_PHONE_ID=id-nomor-telepon-anda
WABA_VERIFY_TOKEN=token-verifikasi-custom-anda
WABA_GRAPH_VERSION=v20.0
```

### Penggunaan

[](#penggunaan)

#### 1. Mengirim Pesan

[](#1-mengirim-pesan)

```
use Junandia\Larawaba\WhatsAppClient;

$wa = app(WhatsAppClient::class);
$wa->sendText('628123456789', 'Halo dari Larawaba SDK!');
```

#### 2. Menangani Pesan Masuk (Listener)

[](#2-menangani-pesan-masuk-listener)

Daftarkan listener di `AppServiceProvider.php`:

```
use Junandia\Larawaba\Events\MessageReceived;
use App\Listeners\ProcessWhatsAppMessage;
use Illuminate\Support\Facades\Event;

Event::listen(MessageReceived::class, ProcessWhatsAppMessage::class);
```

License
-------

[](#license)

The MIT License (MIT). See [LICENSE](LICENSE) for more information.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance91

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

43d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63fff18f3f1dfac694515383a8c2a838941381cc1c37ccc218db8d7fd369fb19?d=identicon)[junandia](/maintainers/junandia)

### Embed Badge

![Health badge](/badges/junandia-larawaba/health.svg)

```
[![Health](https://phpackages.com/badges/junandia-larawaba/health.svg)](https://phpackages.com/packages/junandia-larawaba)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

76318.2M110](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

59156.3k10](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)

PHPackages © 2026

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