WhatsApp API Manager

The most elegant way to integrate WhatsApp Business in Laravel

Laravel 12 70 Stars 1,459+ Downloads 📦 1.0.429

Trusted by developers worldwide

🌍 Global 🔒 Secure ⚡ Fast 🆓 Open Source
1,459
Total Downloads
70
GitHub Stars
305
Monthly Downloads
100%
Open Source

Why choose this package?

Designed with developers in mind. Simple, powerful, and elegant.

Instant Installation

One Composer command and you're ready. No complex configurations or unnecessary steps.

Fluent API

Elegant and expressive syntax that feels natural in Laravel. Write clean, readable code.

All Message Types

Text, images, videos, documents, location, contacts, buttons, lists, and more.

Real-time Events

Automatic webhooks, Laravel events, and broadcasting support with Echo.

Fully Customizable

Extend models, customize webhooks, adapt everything to your specific needs.

Secure & Reliable

Webhook validation, robust error handling, detailed logging for debugging.

SIMPLE AND ELEGANT CODE

Write less, achieve more

Compare how it was before vs how it is now with our package

😓

Before (Without package)

Complicated and tedious

// Complex manual setup
$url = "https://graph.facebook.com/v17.0/{$phoneId}/messages";

$headers = [
    'Authorization: Bearer ' . $token,
    'Content-Type: application/json'
];

$data = json_encode([
    'messaging_product' => 'whatsapp',
    'recipient_type' => 'individual',
    'to' => $to,
    'type' => 'text',
    'text' => [
        'preview_url' => false,
        'body' => $message
    ]
]);

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
$error = curl_error($ch);
curl_close($ch);

if ($error) {
    // Manual error handling
    throw new Exception($error);
}

$result = json_decode($response, true);
// ...more code to validate response
😊

Now (With package)

Simple and elegant!

✨ 90% less code
// Just this!
use ScriptDevelop\WhatsappManager\Facades\Whatsapp;
use ScriptDevelop\WhatsappManager\Models\WhatsappBusinessAccount;

$account = WhatsappBusinessAccount::first();
$phone = $account->phoneNumbers->first();

$message = Whatsapp::message()->sendTextMessage(
    $phone->phone_number_id, // ID del número de teléfono
    '57',                        // Código de país
    '3237121901',                // Número de teléfono
    'Hola, este es un mensaje de prueba.' // Contenido del mensaje
);

// Done! 🎉
Automatic error handling included

Installation in 4 steps

From zero to production in less than 5 minutes

1

Install package

⏱️ 30 sec
composer require scriptdevelop/whatsapp-manager
2

Publish configuration

⏱️ 10 sec
php artisan vendor:publish --tag=whatsapp-config
3

Configure credentials

⏱️ 1 min
# Add to .env: WHATSAPP_TOKEN=your_token
4

Ready to use!

⏱️ 0 sec
Whatsapp::sendTextMessage(...)

All the features you need

And many more to come...

💬

Text Messages

Send and receive text messages

🖼️

Images & Videos

Share media easily

📄

Documents

Send PDFs, Word, Excel, etc.

🎵

Audio

Voice messages and audio files

📍

Location

Share geographic locations

👤

Contacts

Send contact information

🔘

Buttons

Interactive button messages

📋

Lists

Interactive dropdown menus

📋

Templates

Manage approved templates

📡

Webhooks

Real-time notifications

🎯

Laravel Events

Native event integration

📊

Detailed Logs

Complete debugging and monitoring

🔒

Validation

Verified and secure webhooks

Job Queues

Process messages in background

🎨

Customization

Extend and adapt to fit

📚

Documentation

Complete guides and examples

🧪

Testing

Complete test suite

🌐

Multi-language

Documentation in multiple languages

DEVELOPMENT TEAM

Created by passionate developers

Meet the team behind WhatsApp API Manager

Wilfredo Perilla

Wilfredo Perilla

{{ $dev['username'] }}

Colombia

👨‍💻 Ingeniero de Software con más de 15 años de experiencia rompiendo bugs... y arreglándolos después. Backend lover, base de datos freak.

9
Repos
8
Followers
vientoquesurcalosmares

vientoquesurcalosmares

{{ $dev['username'] }}
7
Repos
1
Followers

Like the project?

Support its development and help us keep improving

Every contribution helps us keep the project active and add new features

Share with the community!

Help other developers discover this package

Every share helps grow the Laravel community!

⚠️

Important Legal Notice

This is an UNOFFICIAL WhatsApp package

WhatsApp API Manager is an independently developed open-source package that provides integration with the official WhatsApp Business Platform API. This project is NOT affiliated, associated, authorized, endorsed by, or officially connected with WhatsApp LLC, Meta Platforms, Inc., or any of their subsidiaries or affiliates.

© Property Rights

The official WhatsApp names, WhatsApp logo, and all related trademarks are the exclusive property of WhatsApp LLC and Meta Platforms, Inc.

👤 User Responsibility

You are solely responsible for how you use this package. You must ensure compliance with all WhatsApp policies and applicable laws.

📋 You must comply with:

No Warranty: This software is provided "as is", without warranties of any kind, express or implied. The developers assume no responsibility for damages or losses resulting from the use of this package. By using this package, you acknowledge that you have read, understood, and agree to comply with all terms, policies, and notices mentioned above.

Ready to get started?

Integrate WhatsApp into your Laravel app in less than 5 minutes