Download the PHP package ramatimati/waliby without Composer
On this page you can find all versions of the php package ramatimati/waliby. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package waliby
Waliby (WA Gateway Library for Laravel)
Requirement
- Laravel > 5.8
-
Cron Jobs configuration, this package use laravel built in task scheduling to handle queued messages
- Laravel Queue configuration, use supervisor to keep your process running
Installation
Use Composer
Runing Migration
or you can specific run migration of this package
Configuration
This package required base table or database view that contain phone number and name !\
.env required
If you want to customize view, simply publish blade template from this package. Published file located in resource/views/vendor/Waliby
Routes
Waliby included some routes
Carefull with content in this page, very sensitif information and you should secure it from public!
Webhook
Waliby stores all activity on SendMessage function and included webhook url. Use this url to set webhook for updating message status. This url support POST or GET method
Usage
You can simply call Waliby Class to run this library
Task Scheduling
Waliby come with built in task scheduling every hour at 7, you can configure at Waliby Event, make sure you have configure cron job in your apllication
Available Method
SendMessage($phoneNumber, $messageTemplateName)This function only support sent single messagestringphoneNumber => "62812xxxxxxxx"stringmessageTemplateName => "template1"
RemoveFromQueue($phoneNumber, $eventId)This function used to remove single pending message in waliby queuestringphoneNumber => "62812xxxxxxxx"stringeventId => nullableLicense
MIT
All versions of waliby with dependencies
guzzlehttp/guzzle Version *
illuminate/support Version *
yajra/laravel-datatables-oracle Version *