sawirricardo/whatsapp-php

Use Whatsapp's Cloud API

0.0.5 2023-08-10 04:25 UTC

README

WhatsApp PHP Latest Version on Packagist Tests Total Downloads

Start using Whatsapp Business Cloud API in your app!

Support us

Investing on this package is defintely a good move from you. You can support by donating to:

Installation

You can install the package via composer:

composer require sawirricardo/whatsapp-php

Usage

$client = \Sawirricardo\Whatsapp\Whatsapp::make($token, $phoneId)
    ->to('+111111111')
    ->message(TextMessageData::make('Hello world!'))
    ->send();

Testing

composer test

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

License

The MIT License (MIT). Please see License File for more information.