Download the PHP package orapakat/zenzivadev without Composer
On this page you can find all versions of the php package orapakat/zenzivadev. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download orapakat/zenzivadev
More information about orapakat/zenzivadev
Files in orapakat/zenzivadev
Package zenzivadev
Short Description Application of sms api and whatsapp (Regular, Center, Masking) from the zenziva.id site
License MIT
Informations about the package zenzivadev
how to use this package?
Install with composer:
composer require orapakat/zenzivadev
Update composer in laravel project:
php artisan vendor:publish
Select the provider class:
Provider: Orapakat\Zenzivadev\ZenzivaODVServiceProvider
===========================================================================
Change content in file config/orapakatdev_zenziva.php
'urlRegular' => 'https://console.zenziva.net/',
'UserkeyRegular' => '',
'ApikeyRegular' => '',
'urlCenter' => 'http://[alamatcenter].zenziva.co.id/',
'UserkeyCenter' => '',
'ApikeyCenter' => '',
'instanceID' => '',
register on the zenziva.id site to get the user and the api key.
====================================================================
Guide:
Add namespace in Controller:
use Orapakat\Zenzivadev\Sms as SMS;
use Orapakat\Zenzivadev\Wa as WA;
Sending SMS Regular: SMS::rsend($telp,$sms)
Sending SMS Masking: SMS::msend($telp,$sms)
Sending OTP Masking: SMS::otpsend($telp,$sms)
Sending SMS Center: SMS::csend($telp,$sms)
Delevery Report SMS Center: SMS::dreport($messageid)
Pulsa Check SMS Center: SMS::cpulsa()
Credit Check SMS Center: SMS::ccredit()
Reading SMS Center (Autoreply): SMS::readsms()
Add Contact SMS Center: SMS::addcontact($name,$nohp)
Get Inbox SMS Center: SMS::getinbox($startdate,$enddate)
Get Outbox SMS Center: SMS::getoutbox($startdate,$enddate)
Sending WhatsApp Regular: WA::rsend($telp,$sms)
Sending File WhatsApp Regular: WA::fsend($telp,$caption,$linkurlfile)
Sending Voice WhatsApp Regular: WA::vsend($telp,$sms)
Sending WhatsApp Center: WA::csend($telp,$sms)
Delivery Report WhatsApp Center: WA::dreport($messageid)
Credit Check WhatsApp Center: WA::creditactive()
Sending File WhatsApp Center: WA::cfsend($telp,$caption,$linkfile)
Add Contact WhatsApp Center: WA::addcontact($name,$nohp)
Get Inbox WhatsApp Center: WA::getinbox($startdate,$enddate)
Get Outbox WhatsApp Center: WA::getoutbox($startdate,$enddate)