Download the PHP package joemunapo/whatsapp-php without Composer
On this page you can find all versions of the php package joemunapo/whatsapp-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joemunapo/whatsapp-php
More information about joemunapo/whatsapp-php
Files in joemunapo/whatsapp-php
Package whatsapp-php
Short Description This package provides a seamless integration of the WhatsApp Cloud API for Laravel applications. It offers a flexible. Ideal for multi-tenant applications or businesses managing multiple WhatsApp accounts.
License MIT
Homepage https://github.com/joemunapo/whatsapp-php
Informations about the package whatsapp-php
Joe Munapo's WhatsApp PHP Package
This package provides a simple and efficient way to integrate WhatsApp Cloud API functionality into your Laravel application.
Installation
You can install the package via composer:
Configuration
After installation, publish the configuration file:
Update the published config file in config/whatsapp.php
:
Ensure your database model (e.g., Business
) has the necessary fields to store WhatsApp account details.
Usage
Initializing the WhatsApp instance
Sending a Text Message
Sending an Interactive Message (Buttons)
Sending Media
Sending a Template Message
Handling Webhooks
Getting Media
When you receive a message with media (like an image, video, or document), you can retrieve the media content using the getMedia
method:
Features
- Send text messages
- Send interactive messages (buttons, lists, product lists)
- Send media (images, videos, documents)
- Send template messages
- Handle incoming messages via webhooks
- Mark messages as read
- Retrieve media content
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
- Joe Munapo
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of whatsapp-php with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^9.0||^10.0||^11.0||^12.0