PHPackages                             wasolution/api-client - 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. wasolution/api-client

ActiveLibrary[API Development](/categories/api)

wasolution/api-client
=====================

A PHP client for WhatsApp Solution API using WASolution API Client

v1.0.0(1y ago)02MITPHPPHP &gt;=7.4

Since Jan 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/wasolution-getlifeeasy/wasolution-php)[ Packagist](https://packagist.org/packages/wasolution/api-client)[ RSS](/packages/wasolution-api-client/feed)WikiDiscussions main Synced 1mo ago

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

WhatsApp Solution API Client
============================

[](#whatsapp-solution-api-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7b0e1e0d5b71d071a4610d1d946e3464e1dcea3020a63e147ccf38f1c7eddc84/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7761736f6c7574696f6e2f6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wasolution/api-client)[![Total Downloads](https://camo.githubusercontent.com/eebfd045439f92f304bfd3f38014218418caedae203efafa8af6a0372f792230/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7761736f6c7574696f6e2f6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wasolution/api-client)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

A PHP client for interacting with the WhatsApp Solution API. This package provides a simple and elegant way to send WhatsApp messages through the WASolution platform.

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

[](#requirements)

- PHP 7.4 or higher
- Guzzle HTTP Client 7.0 or higher

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

[](#installation)

You can install the package via composer:

```
composer require wasolution/api-client
```

Usage
-----

[](#usage)

```
use WASolution\WAClient;

// Initialize the client with your credentials
$client = new WAClient(
    'your-app-key',    // Get this from your WASolution dashboard
    'your-auth-key'    // Get this from your WASolution dashboard
);

// Send a message
try {
    $response = $client->sendMessage(
        '60123456789',     // Recipient's phone number
        'Hello from PHP!'   // Your message
    );
    print_r($response);
} catch (\Exception $e) {
    echo "Error: " . $e->getMessage();
}
```

### Response Format

[](#response-format)

A successful response will look like this:

```
{
    "message_status": "Success",
    "data": {
        "from": "601987654321",
        "to": "60123456789",
        "status_code": 200
    }
}
```

Error Handling
--------------

[](#error-handling)

The package throws exceptions for various error cases:

- Invalid credentials
- Network errors
- API errors
- Invalid phone numbers

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request. Make sure to:

1. Follow the existing code style
2. Add tests for any new functionality
3. Update documentation as needed

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [WASolution](https://github.com/wasolution)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance42

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

480d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0e477085335fd6d9c8976601826f4ac81c85eb74551a241b1e9c69bf665d953?d=identicon)[wasolution](/maintainers/wasolution)

---

Top Contributors

[![adalard](https://avatars.githubusercontent.com/u/1977994?v=4)](https://github.com/adalard "adalard (1 commits)")

---

Tags

apimessagingwhatsappwasolution

### Embed Badge

![Health badge](/badges/wasolution-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/wasolution-api-client/health.svg)](https://phpackages.com/packages/wasolution-api-client)
```

###  Alternatives

[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[crenspire/laravel-whatsapp

Laravel WhatsApp Business API package

133.0k](/packages/crenspire-laravel-whatsapp)[jhowbhz/package-apigratis

Uma forma simples de consumir serviços gratuitos oferecidos pelo site https://apigratis.com.br/

505.2k](/packages/jhowbhz-package-apigratis)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
