Trusted by developers worldwide
Designed with developers in mind. Simple, powerful, and elegant.
One Composer command and you're ready. No complex configurations or unnecessary steps.
Elegant and expressive syntax that feels natural in Laravel. Write clean, readable code.
Text, images, videos, documents, location, contacts, buttons, lists, and more.
Automatic webhooks, Laravel events, and broadcasting support with Echo.
Extend models, customize webhooks, adapt everything to your specific needs.
Webhook validation, robust error handling, detailed logging for debugging.
Compare how it was before vs how it is now with our 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
Simple and elegant!
// 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! 🎉
From zero to production in less than 5 minutes
composer require scriptdevelop/whatsapp-manager
php artisan vendor:publish --tag=whatsapp-config
# Add to .env: WHATSAPP_TOKEN=your_token
Whatsapp::sendTextMessage(...)
And many more to come...
Send and receive text messages
Share media easily
Send PDFs, Word, Excel, etc.
Voice messages and audio files
Share geographic locations
Send contact information
Interactive button messages
Interactive dropdown menus
Manage approved templates
Real-time notifications
Native event integration
Complete debugging and monitoring
Verified and secure webhooks
Process messages in background
Extend and adapt to fit
Complete guides and examples
Complete test suite
Documentation in multiple languages
Meet the team behind WhatsApp API Manager
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.
Support its development and help us keep improving
Every contribution helps us keep the project active and add new features
Help other developers discover this package
Every share helps grow the Laravel community!
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.
The official WhatsApp names, WhatsApp logo, and all related trademarks are the exclusive property of WhatsApp LLC and Meta Platforms, Inc.
You are solely responsible for how you use this package. You must ensure compliance with all WhatsApp policies and applicable laws.
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.
Integrate WhatsApp into your Laravel app in less than 5 minutes