PHPackages                             purelines/whapi-sdk - 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. [API Development](/categories/api)
4. /
5. purelines/whapi-sdk

ActiveLibrary[API Development](/categories/api)

purelines/whapi-sdk
===================

Fixed version of PHP SDK for Whapi.Cloud API to interact with WhatsApp via HTTP.

v1.0.1(6mo ago)021MITPHPPHP ^8.1

Since Oct 29Pushed 6mo agoCompare

[ Source](https://github.com/purelines/whapi-sdk)[ Packagist](https://packagist.org/packages/purelines/whapi-sdk)[ Docs](https://github.com/purelines/whapi-sdk)[ RSS](/packages/purelines-whapi-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Whapi SDK
=========

[](#whapi-sdk)

**Fixed version of PHP SDK for Whapi.Cloud API to interact with WhatsApp via HTTP.**

- Official API docs:

---

What is this?
-------------

[](#what-is-this)

This SDK is auto-generated using [OpenAPI Generator](https://openapi-generator.tech), based on Whapi.Cloud's official OpenAPI [specification](https://panel.whapi.cloud/yaml/openapi.yaml).
The spec was patched to make the PHP client work as expected.

### Fixes applied

[](#fixes-applied)

- **Property name collision causing `Cannot redeclare` error**: removed a send-only `filename` property from content models to avoid a `getFilename()` vs `getFileName()` method conflict in the generated PHP client.
- **Boolean query parameter format**: adjusted to use string values as required by the Whapi API, since OpenAPI Generator defaults to integers.
- **OpenAPI 3.0 compatibility**: cleaned up several validator warnings (e.g., no siblings next to `$ref`, moved misplaced `example` fields).

---

Installation
------------

[](#installation)

```
composer require purelines/whapi-sdk
```

---

Quick start
-----------

[](#quick-start)

```
