Download the PHP package bahricanli/whatsapp-bridge without Composer
On this page you can find all versions of the php package bahricanli/whatsapp-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bahricanli/whatsapp-bridge
More information about bahricanli/whatsapp-bridge
Files in bahricanli/whatsapp-bridge
Package whatsapp-bridge
Short Description Laravel notification channel for WhatsApp via Baileys Bridge
License MIT
Homepage https://github.com/bahricanli/whatsapp-bridge
Informations about the package whatsapp-bridge
WhatsApp Bridge — Laravel Notification Channel
Laravel notification channel for sending WhatsApp messages via a self-hosted Baileys bridge.
Designed as a parallel channel alongside bahricanli/netgsm — the API is intentionally similar for easy integration.
Requirements
- PHP 7.4+
- Laravel 5.5+
- A running Baileys WhatsApp bridge (see docker-sip-ai-service/whatsapp-bridge)
Installation
Laravel's auto-discovery registers the service provider automatically.
Publish the config file:
Configuration
Add the following to your .env:
Or edit config/whatsapp-bridge.php directly.
Usage
1. Direct usage (no notification system)
2. As a Laravel notification channel
In your notification class:
In your notifiable model (e.g. User):
3. Parallel with NetGSM
Send via both SMS and WhatsApp simultaneously:
Phone Number Formats
The library normalizes phone numbers automatically:
| Input | Stored as |
|---|---|
905551234567 |
905551234567 |
+905551234567 |
905551234567 |
0905551234567 |
905551234567 |
05551234567 |
905551234567 |
5551234567 |
905551234567 |
Events
| Event | Fired |
|---|---|
SendingMessage |
Before a message is sent |
MessageWasSent |
After successful delivery |
Bridge Status Check
License
MIT — see LICENSE.md.
All versions of whatsapp-bridge with dependencies
guzzlehttp/guzzle Version >=6.5
illuminate/notifications Version >=5.5
illuminate/support Version >=5.5