officegest / officegest-send-sms
2.0.1
2021-12-16 17:44 UTC
Requires
- php: ^7.1|^8
- ext-curl: *
Requires (Dev)
- php: ^7.1|^8
- ext-curl: *
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-17 00:09:24 UTC
README
This is a laravel package to send sms using officegest.
Installation
composer require officegest/officegest-send-sms
Laravel < 8.0 Add ServiceProvider to your config/app.php
OfficegestSms\OfficegestSmsServiceProvider::class,
If you need to publish the config file for this package. This will add the file config/officegest-sms.php
, where you can configure this package.
$ php artisan vendor:publish --provider="OfficegestSms\OfficegestSmsServiceProvider" --tag=config
You need add this variables to your .env
OFFICEGEST_SMS_ACTIVE=true
OFFICEGEST_SMS_URL="your_officegest_url"
OFFICEGEST_SMS_USER="your_user"
OFFICEGEST_SMS_KEY="your_api_key"
Usage
Function OfficegestSms->send()
Parameters: string $phone_number, string $text
Security
If you discover any security related issues, please email suporte@guisoft.net or use issues of this repo.