PHPackages                             sawirricardo/laravel-whatsapp - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. sawirricardo/laravel-whatsapp

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

sawirricardo/laravel-whatsapp
=============================

Enhance your laravel apps with WhatsApp's Cloud API

0.2.0(3y ago)205739[3 PRs](https://github.com/sawirricardo/laravel-whatsapp/pulls)MITPHPPHP ^7.3 | ^8.0 | ^8.1

Since Jun 2Pushed 2y ago3 watchersCompare

[ Source](https://github.com/sawirricardo/laravel-whatsapp)[ Packagist](https://packagist.org/packages/sawirricardo/laravel-whatsapp)[ Docs](https://github.com/sawirricardo/laravel-whatsapp)[ RSS](/packages/sawirricardo-laravel-whatsapp/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (2)Dependencies (14)Versions (6)Used By (0)

Enhance your laravel apps with WhatsApp's Cloud API
===================================================

[](#enhance-your-laravel-apps-with-whatsapps-cloud-api)

[![Laravel WhatsApp](https://camo.githubusercontent.com/9d7315165caed3f90d68168d27b6c48e16db7259a874c2ebaecbadf664dd4bfd/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f6c61726176656c2d77686174736170702e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d73617769727269636172646f2532466c61726176656c2d7768617473617070267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d456e68616e63652b796f75722b6c61726176656c2b617070732b776974682b5768617473417070266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)](https://camo.githubusercontent.com/9d7315165caed3f90d68168d27b6c48e16db7259a874c2ebaecbadf664dd4bfd/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f6c61726176656c2d77686174736170702e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d73617769727269636172646f2532466c61726176656c2d7768617473617070267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d456e68616e63652b796f75722b6c61726176656c2b617070732b776974682b5768617473417070266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)[![Latest Version on Packagist](https://camo.githubusercontent.com/b629d5b4bf2216718845fa498bfdc59223f68e2dd439ba75b8e38c4c6ee2a4e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73617769727269636172646f2f6c61726176656c2d77686174736170702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sawirricardo/laravel-whatsapp)[![GitHub Tests Action Status](https://camo.githubusercontent.com/35444e92310a8e910a0c7ef0dcc8e791e2ef4887b8ba7b4c9316ba008afa4d8d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73617769727269636172646f2f6c61726176656c2d77686174736170702f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/sawirricardo/laravel-whatsapp/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/dbd9b58fcfbb802b1bbcd94f6034620d66752f4b1aedb03129a6670719e42286/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73617769727269636172646f2f6c61726176656c2d77686174736170702f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/sawirricardo/laravel-whatsapp/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/a9b100cabf2963954fb416c5d9e7c7f375b365c520245decb0d2d36356614d8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73617769727269636172646f2f6c61726176656c2d77686174736170702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sawirricardo/laravel-whatsapp)

Use Whatsapp API in your Laravel app!

Support us
----------

[](#support-us)

Investing on this package is defintely a good move from you. You can support by donating to:

- PayPal .
- BCA 8330123584

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

[](#installation)

You can install the package via composer:

```
composer require sawirricardo/laravel-whatsapp
```

You can publish the config file with:

```
php artisan vendor:publish --tag="whatsapp-config"
```

This is the contents of the published config file:

```
return [
    'token' => env('WHATSAPP_TOKEN'),

    'phone_id' => env('WHATSAPP_PHONE_ID'),

    'webhook_verify_token' => env('WHATSAPP_WEBHOOK_VERIFY_TOKEN', 'default'),
];
```

Usage
-----

[](#usage)

```
\Sawirricardo\Whatsapp\Laravel\Facades\Whatsapp::create()
    ->to('+10252423232')
    ->message(new TextMessageData('Hello world!'))
    ->send();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

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

License
-------

[](#license)

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

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~257 days

Total

2

Last Release

1183d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23599e5bcea6210e7c2aa6ab912ab4dc501ca63911cc8a99c46a7b4f57a658ad?d=identicon)[ricardosawir](/maintainers/ricardosawir)

---

Top Contributors

[![sawirricardo](https://avatars.githubusercontent.com/u/37329575?v=4)](https://github.com/sawirricardo "sawirricardo (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

laravellaravel-whatsappsawirricardo

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/sawirricardo-laravel-whatsapp/health.svg)

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

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[xammie/mailbook

Laravel Mail Explorer

482458.3k1](/packages/xammie-mailbook)[spatie/laravel-notification-log

Log notifications sent by your Laravel app

207902.8k](/packages/spatie-laravel-notification-log)[wnx/laravel-sends

Keep track of outgoing emails in your Laravel application.

200427.3k](/packages/wnx-laravel-sends)[spatie/laravel-discord-alerts

Send a message to Discord

151408.0k](/packages/spatie-laravel-discord-alerts)[backstage/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24157.5k5](/packages/backstage-laravel-mails)

PHPackages © 2026

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