Download the PHP package zarulizham/laravel-openwa without Composer
On this page you can find all versions of the php package zarulizham/laravel-openwa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zarulizham/laravel-openwa
More information about zarulizham/laravel-openwa
Files in zarulizham/laravel-openwa
Package laravel-openwa
Short Description Laravel wrapper for the OpenWA WhatsApp gateway API
License MIT
Homepage https://github.com/zarulizham/laravel-openwa
Informations about the package laravel-openwa
Laravel OpenWA
A Laravel wrapper for the OpenWA WhatsApp gateway API — list sessions, send text/image/document messages, and a whatsapp Notification channel.
Installation
You can install the package via composer:
Publish the config file:
Set your OpenWA server details in .env:
OPENWA_SESSION_NAME is optional. When set, getLatestReadySessionId() (and any send call that omits an explicit session id) only considers the session with that name — instead of the most recently connected ready session across all of them. The resolved session id is cached for 3 hours.
Usage
Notifications
Add a routeNotificationForWhatsapp() method to your notifiable model:
Implement ZarulIzham\OpenWa\Notifications\WhatsAppNotification on your notification and return an OpenWaMessage from toWhatsApp():
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Zarul Izham
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-openwa with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0