PHPackages                             axolotesource/laravel-whatsapp-api - 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. axolotesource/laravel-whatsapp-api

ActiveLibrary[API Development](/categories/api)

axolotesource/laravel-whatsapp-api
==================================

This Laravel package facilitates sending WhatsApp messages seamlessly within your application. With easy integration, it empowers developers to incorporate WhatsApp messaging functionality, enhancing user engagement and communication in a straightforward manner.

1.0.0(2y ago)4159[1 issues](https://github.com/AxoloteSource/laravel-whatsapp-api/issues)MTIPHPPHP &gt;=7.4

Since Nov 21Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/AxoloteSource/laravel-whatsapp-api)[ Packagist](https://packagist.org/packages/axolotesource/laravel-whatsapp-api)[ RSS](/packages/axolotesource-laravel-whatsapp-api/feed)WikiDiscussions master Synced 1mo ago

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

### INSTALL

[](#install)

`composer require axolotesource/laravel-whatsapp-api`

To publish the configuration file, run the following command:

```
php artisan vendor:publish
```

When prompted to select the provider, choose Axolotesource\\LaravelWhatsappApi\\LaravelWhatsappApiServiceProvider.

### [WhatsAppMessages](src%2FWhatsAppMessages%2FWhatsAppMessages.php)

[](#whatsappmessages)

#### Examples

[](#examples)

##### templete(string $to, string $templateName = null): Template

[](#templetestring-to-string-templatename--null-template)

This method allows you to send a template-type message (this is the first message that should be sent to the client). For the second parameter, it can be null, and if so, it retrieves the value from config('laravel-whatsapp-api.default\_initial\_template');.

```
$whatsappMessage = WhatsAppMessages::templete($phoneNumber)
    ->language('es_MX')
    ->addComponents([
        BodyComponent::create([
            Params::text('This is a test message')
        ]),
        ButtonComponent::create([
            Params::button('yes')
        ]),
        ButtonComponent::create([
            Params::button('no')
        ]),
        ButtonComponent::create(
            [
                Params::button("history/login?folio=123ABC")
            ],
            ButtonComponent::SUB_TYPE_URL
        ),
        ButtonComponent::create([
            Params::button('never')
        ])
    ]);
```

##### interactiveButtons(string $to): InteractiveButtons

[](#interactivebuttonsstring-to-interactivebuttons)

```
WhatsAppMessages::interactiveButtons($phoneNumber)
    ->setHeaderImage(
        'https://url.com/test.jpg'
    )
    ->addButton('Button 1', 1)
    ->addButton('Button 2', 2)
    ->addButton('Button 3', 3)
    ->body('This is te body message')
    ->send();
```

Coming song more documentation....
----------------------------------

[](#coming-song-more-documentation)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance42

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

900d ago

### Community

Maintainers

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

---

Top Contributors

[![LuisOzParr](https://avatars.githubusercontent.com/u/15320788?v=4)](https://github.com/LuisOzParr "LuisOzParr (4 commits)")[![brianfp](https://avatars.githubusercontent.com/u/15164262?v=4)](https://github.com/brianfp "brianfp (1 commits)")[![Wolfernand](https://avatars.githubusercontent.com/u/1784169?v=4)](https://github.com/Wolfernand "Wolfernand (1 commits)")

---

Tags

laravelwhatsapp

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[missael-anda/laravel-whatsapp

A Whatsapp Business Cloud API wrapper for Laravel.

677.5k](/packages/missael-anda-laravel-whatsapp)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[wallacemartinss/filament-whatsapp-conector

Filament plugin for WhatsApp integration with Evolution API v2

641.4k10](/packages/wallacemartinss-filament-whatsapp-conector)[crenspire/laravel-whatsapp

Laravel WhatsApp Business API package

133.0k](/packages/crenspire-laravel-whatsapp)

PHPackages © 2026

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