onesender-laravel maintained by henset11
# onesender-laravel
How to install:
composer require henset11/onesender-laravel
Publish config:
php artisan vendor:publish --tag=onesender-config
How to use:
Send text
OneSender::text($number, $message, $recipientType)
OneSender::text('08123456789', 'Hello', 'individual')
Send Image
OneSender::image($phone, $imageUrl, $caption, $recipientType)
Send Document
OneSender::document($phone, $documentUrl, $filename, $caption, $recipientType)
you can change recipientType to 'individual' or 'group'
composer require henset11/onesender-laravel
Publish config:
php artisan vendor:publish --tag=onesender-config
How to use:
Send text
OneSender::text($number, $message, $recipientType)
OneSender::text('08123456789', 'Hello', 'individual')
Send Image
OneSender::image($phone, $imageUrl, $caption, $recipientType)
Send Document
OneSender::document($phone, $documentUrl, $filename, $caption, $recipientType)
you can change recipientType to 'individual' or 'group'