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.
Short Description A custom Laravel notifications channel for Infobip SMS API
All versions of laravel-notifications-infobip with dependencies
Informations about the package laravel-notifications-infobip
Infobip Notifications Channel for Laravel 5.5+
This package makes it easy to send Sms notifications using Infobip service with Laravel 5.5 and above.
- Setting up your Infobip account
- Available Message methods
- Dispatching the notification
- Example Notification class
- Example Notifiable class
You can install the package via composer:
Setting up your Infobip account
Add your Infobip Account Username, Password, and From Number to your
Base URL to personal use this (See more)
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
from(''): Accepts a phone to use as the notification sender.
content(''): Accepts a string value for the notification body.
Dispatching the notification
A. Using Laravel's notification facade
B. Using the
notify() method from
Example Notification class
Example Notifiable class
For more details you can check out this link on Laravel documentation
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
- Based on Twilio SMS Notification channel for Laravel
- This project uses the Infobip Client library, and wraps it for smooth use in Laravel
The MIT License (MIT).