PHPackages                             gabrielesbaiz/whatsapp-toolkit - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gabrielesbaiz/whatsapp-toolkit

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gabrielesbaiz/whatsapp-toolkit
==============================

A lightweight heklper package to handle WhatsApp messages using api.whatsapp.com

1.3.0(1y ago)19.0k↑6071.4%[1 PRs](https://github.com/gabrielesbaiz/whatsapp-toolkit/pulls)MITPHPPHP ^8.0CI passing

Since Mar 1Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/gabrielesbaiz/whatsapp-toolkit)[ Packagist](https://packagist.org/packages/gabrielesbaiz/whatsapp-toolkit)[ Docs](https://github.com/gabrielesbaiz/whatsapp-toolkit)[ GitHub Sponsors]()[ RSS](/packages/gabrielesbaiz-whatsapp-toolkit/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (9)Versions (7)Used By (0)

WhatsappToolkit
===============

[](#whatsapptoolkit)

[![Latest Version on Packagist](https://camo.githubusercontent.com/61c140da000edb1e5f72883cf5a2ea2a6ccd957531285e8cdae81f717dcea1bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6761627269656c65736261697a2f77686174736170702d746f6f6c6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gabrielesbaiz/whatsapp-toolkit)[![Total Downloads](https://camo.githubusercontent.com/978f0e43e06e80f17fc5d054d3e999bb526dda5c4e233a70380ba47bc02f7e1c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6761627269656c65736261697a2f77686174736170702d746f6f6c6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gabrielesbaiz/whatsapp-toolkit)

A lightweight helper package to handle WhatsApp messages using api.whatsapp.com

Features
--------

[](#features)

- ✅ URL generator for api.whatsapp.com
- ✅ Message formatter from HTML to WhatsApp
- ✅ PhoneNumber formatter

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

[](#installation)

You can install the package via composer:

```
composer require gabrielesbaiz/whatsapp-toolkit
```

Laravel will automatically register the service provider and facades.

If necessary, you can manually add the service provider in `config/app.php`:

```
'providers' => [
    Gabrielesbaiz\WhatsappToolkit\WhatsappToolkitServiceProvider::class,
],
```

And the facades:

```
'aliases' => [
    'WhatsappToolkit' => Gabrielesbaiz\WhatsappToolkit\Facades\WhatsappToolkit::class,
],
```

Usage
-----

[](#usage)

```
$whatsappToolkit = new Gabrielesbaiz\WhatsappToolkit();

echo $whatsappToolkit->url('+39 1234567890', 'Hallo world!'); // https://api.whatsapp.com/send?phone=%2B39+1234567890&text=Hallo+world%21
```

Using facade:

```
use WhatsappToolkit;

WhatsappToolkit::url('+39 1234567890', 'Hallo world!'); // https://api.whatsapp.com/send?phone=%2B39+1234567890&text=Hallo+world%21
WhatsappToolkit::formatMessage('Hallo world!'); // Hallo+world%21
WhatsappToolkit::formatPhoneNumber('+39 1234567890'); // %2B39+1234567890
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Gabriele Sbaiz](https://github.com/gabrielesbaiz)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance65

Regular maintenance activity

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

5

Last Release

488d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97040fb60637d4b81897347524bc9343ffa6b978d4b19c0c28ea0823e2a1752b?d=identicon)[gabrielesbaiz](/maintainers/gabrielesbaiz)

---

Top Contributors

[![gabrielesbaiz](https://avatars.githubusercontent.com/u/22818698?v=4)](https://github.com/gabrielesbaiz "gabrielesbaiz (6 commits)")

---

Tags

laravel-packagephplaravelGabriele Sbaizwhatsapp-toolkit

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/gabrielesbaiz-whatsapp-toolkit/health.svg)

```
[![Health](https://phpackages.com/badges/gabrielesbaiz-whatsapp-toolkit/health.svg)](https://phpackages.com/packages/gabrielesbaiz-whatsapp-toolkit)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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