Looking to hire Laravel developers? Try LaraJobs

onesender-laravel maintained by henset11

Description
OneSender integration for Laravel
Author
Last update
2024/12/23 16:07 (dev-main)
License
Links
Downloads
2

Comments
comments powered by Disqus
# 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'