Download the PHP package princeton255/laravel-notifications-infobip without Composer

On this page you can find all versions of the php package princeton255/laravel-notifications-infobip. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of laravel-notifications-infobip with dependencies

Informations about the package laravel-notifications-infobip

Infobip Notifications Channel for Laravel 5.5+

Latest Stable Version License Total Downloads

This package makes it easy to send Sms notifications using Infobip service with Laravel 5.5 and above.

Contents

Installation

You can install the package via composer:

Setting up your Infobip account

Add your Infobip Account Username, Password, and From Number to your config/services.php:

To change Base URL to personal use this (See more)

Usage

Now you can use the channel in your via() method inside the notification:

In order to let your Notification know which phone are you sending to, the channel will look for the phone_number attribute of the Notifiable model. If you want to override this behaviour, add the routeNotificationForInfobip method to your Notifiable model.

Available Message methods

InfobipMessage

Examples

Dispatching the notification

A. Using Laravel's notification facade

B. Using the notify() method from Notifiable trait

Example Notification class

Example Notifiable class

For more details you can check out this link on Laravel documentation

Testing

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT).


Version
Requires php Version >=7.1
infobip/infobip-api-php-client Version ^2.3

The package princeton255/laravel-notifications-infobip contains the following files

Loading the files please wait ....