PHPackages                             tiagoandrepro/whatsapp-cloud-sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. tiagoandrepro/whatsapp-cloud-sdk-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

tiagoandrepro/whatsapp-cloud-sdk-php
====================================

Production-grade PHP 8.4 SDK for Meta WhatsApp Cloud API with strict typing, PSR compliance, and comprehensive security features

v1.0.0(4mo ago)00MITPHPPHP ^8.4CI passing

Since Feb 15Pushed 4mo agoCompare

[ Source](https://github.com/tiagoandrepro/whatsapp-cloud-sdk-php)[ Packagist](https://packagist.org/packages/tiagoandrepro/whatsapp-cloud-sdk-php)[ Docs](https://github.com/tiagoandrepro/whatsapp-cloud-sdk-php)[ RSS](/packages/tiagoandrepro-whatsapp-cloud-sdk-php/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (9)Versions (2)Used By (0)

WhatsApp Cloud API SDK (PHP 8.4)
================================

[](#whatsapp-cloud-api-sdk-php-84)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](LICENSE)[![PHP 8.4+](https://camo.githubusercontent.com/bfb98d885e37493cddcc01059ebf02a8872de9da37c12691b8bb6d13fcdca735/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e342532422d626c75652e737667)](https://php.net)![Tests](https://camo.githubusercontent.com/2f1139dc1f5a861a67cb7757c9a75270116c5ac300fd025ddcea46a116c184a5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54657374732d3434253246343425323070617373696e672d627269676874677265656e2e737667)![PHPStan](https://camo.githubusercontent.com/b320a509b5d4a5c630636f9f1282f2450214ada7e4d88e60af25c10589eaaead/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d4c6576656c2532306d61782d627269676874677265656e2e737667)

Production-grade PHP SDK for Meta WhatsApp Cloud API with strict typing, secure defaults, and comprehensive documentation.

✨ Features
----------

[](#-features)

- **18 Endpoints** - Complete WhatsApp Cloud API coverage
- **Strict Types** - PHP 8.4 readonly DTOs with full type hints
- **PSR Compliant** - PSR-18 HTTP Client, PSR-3 Logging, PSR-17 Factories
- **Secure by Default** - Automatic sensitive data redaction, SSRF prevention, input validation
- **Error Handling** - 6 typed exceptions for precise error catching
- **Automatic Retry** - Smart retry for transient failures (429, 5xx)
- **44 Tests** - 100% endpoint coverage with 116 assertions
- **Quality Gates** - PHPStan level max, PHP-CS-Fixer compliant
- **Well Documented** - 23 docs covering all features and use cases

Requirements
------------

[](#requirements)

- **PHP 8.4+** (strict types, readonly properties)
- **PSR-18 HTTP Client** (you provide - Guzzle, Symfony, etc)
- **PSR-17 Message Factories** (you provide)
- **PSR-3 Logger** (optional - Monolog, etc)

Quick Install
-------------

[](#quick-install)

```
composer require tiagoandrepro/whatsapp-cloud-sdk-php guzzlehttp/guzzle
```

Your First Message
------------------

[](#your-first-message)

```
