tematech/avstelecomsms

Laravel notification sms for avstelecom
1,159 1
Install
composer require tematech/avstelecomsms
Latest Version:4.0.0
PHP:^8.0|^8.1
License:MIT
Last Updated:Feb 10, 2022
Links: GitHub  ·  Packagist
Maintainer: Gildas Tema

Laravel Notification for SMS AVSTELECOM

Latest Version on Packagist run-tests Scrutinizer Code Quality Build Status Total Downloads

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released PHP Laravel License
4.0.0 ^8.0|^8.1 ^7.0|^8.0|^9.0 MIT
3.0.6 ^7.2|^8.0 ^7.0|^8.0 MIT
3.0.5 ^7.2|^8.0 ^7.0|^8.0 MIT
3.0.4 ^7.2|^8.0 ^7.0|^8.0 MIT
3.0.3 ^7.2 ^7.0|^8.0 MIT