PHPackages                             ruslidev/yii2-wablas - 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. ruslidev/yii2-wablas

ActiveYii2-extension[API Development](/categories/api)

ruslidev/yii2-wablas
====================

Yii2 Extension for https://wablas.com

v1.0.0(4y ago)04BSD-3-ClausePHPPHP &gt;=7.2.0

Since Mar 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rusli-nasir/yii2-wablas)[ Packagist](https://packagist.org/packages/ruslidev/yii2-wablas)[ RSS](/packages/ruslidev-yii2-wablas/feed)WikiDiscussions master Synced today

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

yii2-wablas
===========

[](#yii2-wablas)

Yii2 Extension for

Usage
-----

[](#usage)

To use this extension, simply add the following code in your application configuration:

```
    //...
    'waBlast' => [
        'class' => \ruslidev\wablas\WablasClient::className(),
        'wablasEndpoint' => getenv('WABLAS_ENDPOINT'),
        'apiToken' => getenv('WABLAS_API_TOKEN'),
    ],
    //...
```

Default config:

```
WABLAS_ENDPOINT=https://wablas.com/
WABLAS_API_TOKEN=123456
```

You can then send an whatsapp as follows:

Send Message

```
    $message = 'Hello...';
    $phone_number = '08xxxxx'
    $result = Yii::$app->waBlast->sendMessage($message,'08xxxxxx');
    if($result instanceof StreamInterface){
        $resultContent = json_decode($result->getContents());
        $message = $resultContent->data->message[0];
    }
```

Send Image

```

    $phone_number = '08xxxxx'
    $result = Yii::$app->waBlast->sendImage($imageCaption, $phone_number,$imageUrl ,$secret = false, $priority = false, $type = 'random');
    if($result instanceof StreamInterface){
        $resultContent = json_decode($result->getContents());
    }
```

Send Document Url

```

    $phone_number = '08xxxxx'
    $result = Yii::$app->waBlast->sendDocumentUrl($docUrl, $phone_number = null , $secret = false, $priority = false, $type = 'random');
    if($result instanceof StreamInterface){
        $resultContent = json_decode($result->getContents());
    }
```

Send Document File

```
    $phone_number = '08xxxxx'
    $result = Yii::$app->waBlast->sendDocumentFile($file, $phone_number = null, $secret = false, $priority = false, $type = 'random');
    if($result instanceof StreamInterface){
        $resultContent = json_decode($result->getContents());
    }
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

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

Unknown

Total

1

Last Release

1581d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/992602?v=4)[dextercool](/maintainers/dextercool)[@dextercool](https://github.com/dextercool)

---

Top Contributors

[![rusli-nasir](https://avatars.githubusercontent.com/u/11749698?v=4)](https://github.com/rusli-nasir "rusli-nasir (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ruslidev-yii2-wablas/health.svg)

```
[![Health](https://phpackages.com/badges/ruslidev-yii2-wablas/health.svg)](https://phpackages.com/packages/ruslidev-yii2-wablas)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[statamic/cms

The Statamic CMS Core Package

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

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[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)
