henset11 / onesender-laravel
OneSender integration for Laravel
dev-main
2024-12-23 15:07 UTC
Requires
- php: ^7.4|^8.0
- guzzlehttp/guzzle: ^7.0
- illuminate/support: ^8.0|^9.0|^10.0
This package is auto-updated.
Last update: 2025-05-23 15:56:39 UTC
README
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'