cheanizer/laravel-rapiwha

There is no license information available for the latest version (1.1) of this package.

Rapiwha class wrapper for laravel

1.1 2021-02-15 05:59 UTC

This package is auto-updated.

Last update: 2024-05-15 13:30:08 UTC


README

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');