PHPackages                             michalwolinski/wbiztool-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. [API Development](/categories/api)
4. /
5. michalwolinski/wbiztool-php

ActiveLibrary[API Development](/categories/api)

michalwolinski/wbiztool-php
===========================

A PHP client library for accessing WbizTool API

v1.1.1(6y ago)222[1 PRs](https://github.com/michalwolinski/wbiztool-php/pulls)1MITPHPPHP ^7.4

Since Dec 11Pushed 3y ago2 watchersCompare

[ Source](https://github.com/michalwolinski/wbiztool-php)[ Packagist](https://packagist.org/packages/michalwolinski/wbiztool-php)[ RSS](/packages/michalwolinski-wbiztool-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (4)Versions (5)Used By (1)

WbizTool Client PHP Library
===========================

[](#wbiztool-client-php-library)

A PHP client library for accessing WbizTool API

---

Installation by Composer
------------------------

[](#installation-by-composer)

Run

```
composer require michalwolinski/wbiztool-php
```

in console to install this library.

---

Usage
-----

[](#usage)

First, you need to initialize the Credentials and Client objects.

### Load library and set up credentials

[](#load-library-and-set-up-credentials)

```
$credentials = new Credentials(
    [clientId], [apiKey], [whatsappClientId]
);
$client = new Client(new \GuzzleHttp\Client(), $credentials);

```

---

### Message Types

[](#message-types)

You can choose one of few message types described below.

#### Text

[](#text)

Text message as argument

```
$type = new Text('message content');

```

#### Image URL

[](#image-url)

Text message with image

- Message
- Image Url

```
$type = ImageUrl('Testing text message', 'https://example.com/image.jpg');

```

#### File URL

[](#file-url)

Text message with file

- Message
- File Url
- File Name

```
$type = FileUrl('Testing text message', 'https://example.com/Documents.zip', 'Documents.zip');

```

---

### Methods

[](#methods)

#### Send Message

[](#send-message)

This method sends the message directly.

Arguments:

- SendMessage object
- Receiver object (Phone number as argument)
- MessageType object

```
$response = $client->push(
        new SendMessage(),
        new Receiver('123456789'),
        $type
);

```

#### Schedule Message

[](#schedule-message)

This method schedule the message.

Arguments:

- ScheduleMessage object (Carbon object with scheduled date and time, Timezone)
- Receiver object (Phone number as argument)
- MessageType object

```
$response = $client->push(
        new ScheduleMessage(Carbon::tomorrow(), 'UTC'),
        new Receiver('123456789'),
        $type
);

```

#### Cancel Message

[](#cancel-message)

This method cancel pending message.

Arguments:

- CancelMessage object (messageId)

```
$response = $client->push(
        new CancelMessage(12345)
);

```

### Response object

[](#response-object)

Each methods returns Response object, that contains:

- Status (bool)
- Message (string)
- MessageId (int)

You can use getters or toArray() method:

```
["status"]=> bool(true)
["message"]=> string(9) "Cancelled"
["messageId"]=> int(123)

```

Authors
-------

[](#authors)

- **Michal Wolinski** - [Haxmedia](https://haxmedia.pl)

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~0 days

Total

3

Last Release

2343d ago

### Community

Maintainers

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

---

Top Contributors

[![michalwolinski](https://avatars.githubusercontent.com/u/58229155?v=4)](https://github.com/michalwolinski "michalwolinski (3 commits)")

---

Tags

wbiztool

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/michalwolinski-wbiztool-php/health.svg)

```
[![Health](https://phpackages.com/badges/michalwolinski-wbiztool-php/health.svg)](https://phpackages.com/packages/michalwolinski-wbiztool-php)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[ashallendesign/laravel-exchange-rates

A wrapper package for interacting with the exchangeratesapi.io API.

485677.8k](/packages/ashallendesign-laravel-exchange-rates)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1221.1k](/packages/codebar-ag-laravel-docuware)

PHPackages © 2026

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