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 3w ago

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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

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

2395d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/58229155?v=4)[Michał Woliński](/maintainers/michalwolinski)[@michalwolinski](https://github.com/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

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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