PHPackages                             maukirim/open-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. maukirim/open-api

ActiveLibrary[API Development](/categories/api)

maukirim/open-api
=================

Official Package Whatsapp API provided by maukirim.com

v0.0.5(2y ago)015MITPHPPHP ^7.4|^8.0

Since Apr 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MauKirim/open-api)[ Packagist](https://packagist.org/packages/maukirim/open-api)[ Docs](https://github.com/maukirim/open-api)[ RSS](/packages/maukirim-open-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (7)Used By (0)

OpenAPI Wrapper for MauKirim
============================

[](#openapi-wrapper-for-maukirim)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e99f2074fcf5864639e3a6260f79afe63f7b353352ba63f689e7bea38e1671a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61756b6972696d2f6f70656e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/maukirim/open-api)[![Total Downloads](https://camo.githubusercontent.com/243a3976b07bf907f620942e02de928eacd6aabe8ff2138bce5e957eff479211/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61756b6972696d2f6f70656e2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/maukirim/open-api)

This package is a wrapper for [MauKirim](https://maukirim.com) OpenAPI to send message to whatsapp, you can send plain message, message with button, message with image, and message with document.

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

[](#installation)

You can install the package via composer:

```
composer require maukirim/open-api
```

publish configuration file

```
php artisan vendor:publish --provider="MauKirim\OpenApi\OpenApiServiceProvider"
```

add to your .env

```
MAUKIRIM_TOKEN=your_token
```

to get your token, you can register at [maukirim.com](https://maukirim.com) or contact us at [whatsapp](https://wa.me/6285792071380)

we can provide free trial for 30 days

Usage
-----

[](#usage)

Send a plain message to whatsapp

```
use MauKirim\OpenApi;

$openApi = OpenApi::init(10); // 10 is the number timeout
$openApi->send(
    '628xxxxxx',
    'Hello World *hii*',
)
```

send a plain message with button

```
use MauKirim\OpenApi;
$openApi->send(
    '628xxxxxx',
    'Hello World *hii*',
    [
        [
            'id' => '1',
            'text' => 'Button 1',
            'url' => 'your_url',
        ]
    ]
)
```

send a message with image

```
use MauKirim\OpenApi;
$file = $request->file('image');
$openApi->sendImage(
    '628xxxxxx',
    'Hello World *hii*',
    $file
)
```

send a message with document

```
use MauKirim\OpenApi;
$file = $request->file('document');
$openApi->sendDocument(
    '628xxxxxx',
    'Hello World *hii*',
    $file
)
```

send otp to whatsapp

```
use MauKirim\OpenApi;
$openApi->sendOTP(
    '628xxxxxx'
)
```

validate otp

```
use MauKirim\OpenApi;
$openApi->validateOTP(
    '628xxxxxx',
    '123456'
)
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Indra Gunanda](https://github.com/maukirim)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

5

Last Release

1093d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/825292155992c28e147eec4c7f231ef0f3d3f4f9576b518ded11b17e59accb74?d=identicon)[igun997](/maintainers/igun997)

---

Top Contributors

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

---

Tags

whatsappwhatsapp-sdkapiwhatsappopen-apimaukirim

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maukirim-open-api/health.svg)

```
[![Health](https://phpackages.com/badges/maukirim-open-api/health.svg)](https://phpackages.com/packages/maukirim-open-api)
```

###  Alternatives

[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[jhowbhz/package-apigratis

Uma forma simples de consumir serviços gratuitos oferecidos pelo site https://apigratis.com.br/

505.2k](/packages/jhowbhz-package-apigratis)

PHPackages © 2026

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