Looking to hire Laravel developers? Try LaraJobs

laravel-rapiwha maintained by cheanizer

Description
Rapiwha class wrapper for laravel
Author
Last update
2021/02/15 07:19 (dev-master)
Links
Downloads
239

Comments
comments powered by Disqus

lararapiwha

simple library to interact with rapiwha (rapiwha.com) api whastapp endpoint.

how to install

composer require cheanizer/laravel-rapiwha

note : for Laravel 5.x please use release 1.0

add in the provider section in your config/app.php

Cheanizer\LaraRapiWha\LaraRapiWhaServiceProvider::class

and optional add facades in facades section if you want user this library everytime.

'APIWHA' => Cheanizer\LaraRapiWha\Facade::class

dont forget to copy configuration filed using

php artisan vendor:publish

add parameters rapiwha account to your .env

RAPIWHA_BASE_URL=http://panel.rapiwha.com/

RAPIWHA_APIKEY={your_api_key_here}

how to use

load the library and use this command to send message via whastapp.

$dd = APIWHA::send('628123456789','hello');