PHPackages                             daemon144key/zenziva-notification-channel - 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. daemon144key/zenziva-notification-channel

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

daemon144key/zenziva-notification-channel
=========================================

Zenziva SMS notifications driver.

1.0.0(6y ago)24.1kMITPHPPHP &gt;=5.6.4CI failing

Since Jul 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/daemon144key/zenziva-notification-channel)[ Packagist](https://packagist.org/packages/daemon144key/zenziva-notification-channel)[ Docs](https://github.com/daemon144key/zenziva-notification-channel)[ RSS](/packages/daemon144key-zenziva-notification-channel/feed)WikiDiscussions master Synced 1mo ago

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

Zenziva notifications channel for Laravel 5.3
=============================================

[](#zenziva-notifications-channel-for-laravel-53)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8a7d526632567a1cdc1f0fc31a7b4ae6c7fa294895475d0079264357cd17a17b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461656d6f6e3134346b65792f7a656e7a6976612d6e6f74696669636174696f6e2d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/daemon144key/zenziva-notification-channel)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d99ab0777ce9193365be1c024b5ceb56789639678aa154cca970c93d899c2fe2/68747470733a2f2f7472617669732d63692e6f72672f6461656d6f6e3134346b65792f7a656e7a6976612d6e6f74696669636174696f6e2d6368616e6e656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/daemon144key/zenziva-notification-channel)[![StyleCI](https://camo.githubusercontent.com/137f714a371eeb32eea0170927e11ba4ab7de949cb368042ce52a87f9858c043/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3134323836383737372f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/142868777)[![Total Downloads](https://camo.githubusercontent.com/383b6258de1c4124b5eb7302a002c390818407f90ed63a0d7cd6acfa3100b37a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461656d6f6e3134346b65792f7a656e7a6976612d6e6f74696669636174696f6e2d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/daemon144key/zenziva-notification-channel)

This package makes it easy to send SMS notifications using [zenziva.id](http://www.zenziva.id/) with Laravel 5.3 onward.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Zenziva service](#setting-up-the-zenziva-notification-channel-service)
- [Usage](#usage)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require daemon144key/zenziva-notification-channel
```

You must install the service provider and add to your `config/app.php` (skip for Laravel 5.5 onward):

```
// config/app.php
'providers' => [
    ...
    TuxDaemon\ZenzivaNotificationChannel\ZenzivaServiceProvider::class,
],
```

Additionally you can add related facade in `config/app.php` :

```
// config/app.php
'aliases' => [
    ...
    'ZenzivaClient' => TuxDaemon\ZenzivaNotificationChannel\Facades\ZenzivaFacade::class,
],
```

### Setting up the zenziva-notification-channel service

[](#setting-up-the-zenziva-notification-channel-service)

Add your Zenziva account userkey and passkeyto your `config/services.php`:

```
// config/services.php
...
'zenziva' => [
    'userkey' => env('ZENZIVA_SMS_CLIENT_USERKEY', ''),
    'passkey' => env('ZENZIVA_SMS_CLIENT_PASSKEY', ''),
    'masking' => env('ZENZIVA_SMS_CLIENT_MASKING', false)
],
...
```

Usage
-----

[](#usage)

You can use the channel in your `via()` method inside the notification:

```
use Illuminate\Notifications\Notification;
use TuxDaemon\ZenzivaNotificationChannel\ZenzivaMessage;
use TuxDaemon\ZenzivaNotificationChannel\ZenzivaChannel;

class OrderCreated extends Notification
{
    public function via($notifiable)
    {
        return [ZenzivaChannel::class];
    }

    public function toZenziva($notifiable)
    {
        return ZenzivaMessage::create("Your order had created!");
    }
}
```

Or call the function from facade :

```
use ZenzivaClient;

class Something
{
    public function send($to, $msg)
    {
        return ZenzivaClient::send("081234567890", "hello world");
    }

    public function checkBalance()
    {
        return ZenzivaClient::checkBalance();
    }
}
```

Or from CLI artisan command :

```
$ php artisan zenziva:send 081234567890 "hello world"
$ php artisan zenziva:checkbalance
```

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please use the issue tracker.

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

[](#contributing)

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

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Recently: every ~105 days

Total

6

Last Release

2425d ago

Major Versions

0.9.9 → 1.0.02019-09-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/44725c3ce46e2cac199cd98fc5f0337c1115d9fd6b3b6549e0afbd96e94f1aa0?d=identicon)[daemon144key](/maintainers/daemon144key)

---

Top Contributors

[![daemon144key](https://avatars.githubusercontent.com/u/4672993?v=4)](https://github.com/daemon144key "daemon144key (9 commits)")

---

Tags

laravelnotificationssmszenziva

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/daemon144key-zenziva-notification-channel/health.svg)

```
[![Health](https://phpackages.com/badges/daemon144key-zenziva-notification-channel/health.svg)](https://phpackages.com/packages/daemon144key-zenziva-notification-channel)
```

###  Alternatives

[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)

PHPackages © 2026

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