eugabrielsilva/whatsapp-php

A PHP client SDK for eugabrielsilva/whatsapp-api.

dev-main 2025-02-08 19:32 UTC

This package is auto-updated.

Last update: 2025-02-08 19:32:29 UTC


README

A PHP client SDK for whatsapp-api.

Installation

composer require eugabrielsilva/whatsapp-php

Usage

use WhatsAppPHP\Client;

require_once 'vendor/autoload.php';

// Create the Client instance with the base API URL and your auth token
$client = Client::create('http://localhost:3000', 'optional_auth_token');

Testing

Copy tests/_env.example.php to tests/_env.php and setup the test environment.