PHPackages                             laravel-notification-channels/infobip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. laravel-notification-channels/infobip

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

laravel-notification-channels/infobip
=====================================

Infobip notification channel for Laravel

1.1.0(5y ago)61636[1 issues](https://github.com/laravel-notification-channels/infobip/issues)MITPHPPHP &gt;=7.2

Since Aug 11Pushed 5y ago4 watchersCompare

[ Source](https://github.com/laravel-notification-channels/infobip)[ Packagist](https://packagist.org/packages/laravel-notification-channels/infobip)[ Docs](https://github.com/laravel-notification-channels/infobip)[ RSS](/packages/laravel-notification-channels-infobip/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (6)Versions (7)Used By (0)

Laravel Notifications Channel for Infobip
=========================================

[](#laravel-notifications-channel-for-infobip)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d8ba43bfb3d3b00d553bee910f469bcba7dafe3a93fd95df1fa2d8609bfa35e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e666f6269702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/infobip)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/b24b9c57568b83c8fe58ce58b7d862a18fd5d11ac8970869fd1d8ab2646601a9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e666f6269702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-notification-channels/infobip)[![StyleCI](https://camo.githubusercontent.com/944688734746941adac185ad965e7ede333d69e34a35232234a0f5be76043f26/68747470733a2f2f7374796c6563692e696f2f7265706f732f3238353639323238362f736869656c64)](https://styleci.io/repos/285692286)[![Quality Score](https://camo.githubusercontent.com/ede96ff95996712fc419675c40ec606e757face3f5d9388876d9c44c5b4c47ee/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e666f6269702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/infobip)[![Code Coverage](https://camo.githubusercontent.com/173b0154037b07a44e38ab38ec4d6dfc71ad71824108c68f0a4e379e45576d6b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e666f6269702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/infobip/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/adcfee3b53397065bfed1055ca18fcb3d40023a9b3fe0dd22ae872eae8c2e588/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f696e666f6269702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/infobip)

This package makes it easy to send notifications using [Infobip](https://www.infobip.com/) with Laravel 5.5+, 6.x and 7.x

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Infobip service](#setting-up-your-infobip-account)
- [Usage](#usage)
    - [On-Demand Notifications](#on-demand-notifications)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require laravel-notification-channels/infobip
```

Setting up your Infobip account
-------------------------------

[](#setting-up-your-infobip-account)

Add your Infobip Product Token and default originator (name or number of sender) to your `config/services.php`:

```
// config/services.php
...
'infobip' => [
    'username' => env('INFOBIP_USERNAME'),
    'password' => env('INFOBIP_PASSWORD'),
    'from' => env('INFOBIP_FROM', 'Info'),
    'notify_url' = env('INFOBIP_NOTIFY_URL', null),
],
...
```

To change `Base URL` to personal use this ([See more](https://dev.infobip.com/getting-started/base-url))

```
...
'infobip' => [
    ...
    'baseUrl' => env('INFOBIP_BASE_URL', null),
],
...
```

Usage
-----

[](#usage)

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

```
use Illuminate\Notifications\Notification;
use NotificationChannels\Infobip\InfobipMessage;

class AccountApproved extends Notification
{
    public function via($notifiable)
    {
        return ["infobip"];
    }

    public function toInfobip($notifiable)
    {
        return (new InfobipMessage)->content("Your account was approved!");
    }
}
```

In your notifiable model, make sure to include a routeNotificationForInfobip() method, which returns a phone number or an array of phone numbers.

```
public function routeNotificationForInfobip()
{
    return $this->phone_number;
}
```

### On-Demand Notifications

[](#on-demand-notifications)

Sometimes you may need to send a notification to someone who is not stored as a "user" of your application. Using the Notification::route method, you may specify ad-hoc notification routing information before sending the notification:

```
Notification::route('infobip', '5555555555')
            ->notify(new InvoicePaid($invoice));
```

### Available Message methods

[](#available-message-methods)

`from('')`: Accepts a phone number/sender name to use as the notification sender.. *Make sure to register the sender name at you Infobip dashboard.*

`content('')`: Accepts a string value for the notification body.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Thomson Maguru](https://github.com/tomsgad)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Total

6

Last Release

2042d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20937037?v=4)[Laravel Notification Channels](/maintainers/laravel-notification-channels)[@laravel-notification-channels](https://github.com/laravel-notification-channels)

---

Top Contributors

[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (3 commits)")[![ziming](https://avatars.githubusercontent.com/u/679513?v=4)](https://github.com/ziming "ziming (1 commits)")

---

Tags

hacktoberfestinfobiplaravelnotificationssms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-notification-channels-infobip/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-notification-channels-infobip/health.svg)](https://phpackages.com/packages/laravel-notification-channels-infobip)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/webpush

Web Push Notifications driver for Laravel.

7984.5M16](/packages/laravel-notification-channels-webpush)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
