tematech / avstelecomsms
Laravel notification sms for avstelecom
4.0.0
2022-02-10 19:18 UTC
Requires
- php: ^8.0|^8.1
- guzzlehttp/guzzle: ^6.4|^7.0
- illuminate/support: ^7.0|^8.0|^9.0
Requires (Dev)
- orchestra/testbench: 5.*|6.*
- phpunit/phpunit: ^8.0|^9.0
README
This library help you to send sms via laravel notification use avstelecom SARL provider sms in cameroon
Installation
You can install the package via composer:
composer require tematech/avstelecomsms
php artisan vendor:publish --provider='Tematech\Avstelecomsms\AvstelecomsmsServiceProvider'
Configuration .env
AVSTELECOM_ID=
AVSTELECOM_KEY=
AVSTELECOM_SECRET=
AVSTELECOM_TOKEN=
Usage
/** * In notifiable * */ public function routeNotificationForAvstelecom() { return $this->phone; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return ['avstelecom']; } public function toAvstelecom($notifiable){ return [ 'message' => '' // message sms ]; }
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email gildastema3@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.