PHPackages                             vikilaboy/laravel-bird-notifications - 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. vikilaboy/laravel-bird-notifications

ActiveLibrary

vikilaboy/laravel-bird-notifications
====================================

Bird notification channel for Laravel 11.x

03PHP

Since Jan 16Pushed 1y agoCompare

[ Source](https://github.com/vikilaboy/laravel-bird-notifications)[ Packagist](https://packagist.org/packages/vikilaboy/laravel-bird-notifications)[ RSS](/packages/vikilaboy-laravel-bird-notifications/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Bird notifications channel for Laravel
======================================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/7343313bbba0bbfeb096e881be60241cabe09e609f3542edb2b9e338b2abf92b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6d657373616765626972642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/messagebird)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/79750b1edc706fe7e1598e3e75b3cdf88adf389aca117fd552d5319315769058/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6d657373616765626972642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-notification-channels/messagebird)[![StyleCI](https://camo.githubusercontent.com/7774a22966f50e4e319fbec28aea541018002cb73a20ab594ac08b6adc96ff37/68747470733a2f2f7374796c6563692e696f2f7265706f732f36353638333634392f736869656c64)](https://styleci.io/repos/65683649)[![SensioLabsInsight](https://camo.githubusercontent.com/88da91189fecdb5543d49d35c80b72a29f39e04bee1514eaf7e949edc5a8c874/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f33353762623864332d323136332d343562652d393766322d6365373134333461343337392e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/357bb8d3-2163-45be-97f2-ce71434a4379)[![Quality Score](https://camo.githubusercontent.com/956fe7af8e6ae7cd679d56ffa0f658e9b655ad7e4cf49ba92885ebdac1613eb3/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6d657373616765626972642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/messagebird)[![Code Coverage](https://camo.githubusercontent.com/767e525e82fa5004317d8a4bd451f5db257b75f2c98cdaf22c1c76a45751f59c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6d657373616765626972642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/messagebird/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/b624fa6d2984710d6de4f24579218b68c56d74f8f28cf4132963e2b8c50c0f5c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6d657373616765626972642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/messagebird)

This package makes it easy to send [Bird SMS notifications](https://github.com/messagebird/php-rest-api) with Laravel.

Contents
--------

[](#contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Setting up your Bird account](#setting-up-your-messagebird-account)
- [Usage](#usage)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

Requirements
------------

[](#requirements)

- [Sign up](https://www.messagebird.com/en/signup) for a free Bird account
- Create a new access\_key in the developers sections

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

[](#installation)

You can install the package via composer:

```
composer require vikilaboy/laravel-bird-notifications
```

for Laravel 5.4 or lower, you must add the service provider to your config:

```
// config/app.php
'providers' => [
    ...
    NotificationChannels\Bird\BirdServiceProvider::class,
],
```

Setting up your Bird account
----------------------------

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

Add the environment variables to your `config/services.php`:

```
// config/services.php
...
    'bird' => [
        'access_key' => env('BIRD_ACCESS_KEY'),
        'originator' => env('BIRD_ORIGINATOR'),
        'workspace' => env('BIRD_WORKSPACE'),
        'channel' => env('BIRD_CHANNEL'),
    ],
...
```

Add your Bird Access Key, Default originator (name or number of sender), and default recipients to your `.env`:

```
// .env
...
BIRD_ACCESS_KEY=
BIRD_ORIGINATOR=
BIRD_WORKSPACE=
BIRD_CHANNEL=
...
```

Notice: The originator can contain a maximum of 11 alfa-numeric characters.

Usage
-----

[](#usage)

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

```
use NotificationChannels\Bird\BirdChannel;
use NotificationChannels\Bird\BirdMessage;
use Illuminate\Notifications\Notification;

class VpsServerOrdered extends Notification
{
    public function via($notifiable)
    {
        return [BirdChannel::class];
    }

    public function toMessagebird($notifiable)
    {
        return (new BirdMessage("Your {$notifiable->service} was ordered!"));
    }
}
```

Additionally you can add recipients (single value or array)

```
return (new BirdMessage("Your {$notifiable->service} was ordered!"))->setRecipients($recipients);
```

In order to handle a status report you can also set a reference

```
return (new BirdMessage("Your {$notifiable->service} was ordered!"))->setReference($id);
```

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Victor Niculae](https://niculae.net)
- [Peter Steenbergen](https://3ws.nl)
- [Tonko Mulder](https://tonkomulder.nl)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 54.7% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2757887?v=4)[El Niño](/maintainers/vikilaboy)[@vikilaboy](https://github.com/vikilaboy)

---

Top Contributors

[![petericebear](https://avatars.githubusercontent.com/u/339796?v=4)](https://github.com/petericebear "petericebear (41 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (8 commits)")[![SudoGetBeer](https://avatars.githubusercontent.com/u/7324694?v=4)](https://github.com/SudoGetBeer "SudoGetBeer (5 commits)")[![vikilaboy](https://avatars.githubusercontent.com/u/2757887?v=4)](https://github.com/vikilaboy "vikilaboy (3 commits)")[![JeroenVanOort](https://avatars.githubusercontent.com/u/5616838?v=4)](https://github.com/JeroenVanOort "JeroenVanOort (3 commits)")[![evrard-c](https://avatars.githubusercontent.com/u/23173851?v=4)](https://github.com/evrard-c "evrard-c (2 commits)")[![chrispage1](https://avatars.githubusercontent.com/u/2487374?v=4)](https://github.com/chrispage1 "chrispage1 (2 commits)")[![ricardovanlaarhoven](https://avatars.githubusercontent.com/u/1246691?v=4)](https://github.com/ricardovanlaarhoven "ricardovanlaarhoven (2 commits)")[![Treggats](https://avatars.githubusercontent.com/u/27585?v=4)](https://github.com/Treggats "Treggats (1 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (1 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (1 commits)")[![jetwes](https://avatars.githubusercontent.com/u/1346373?v=4)](https://github.com/jetwes "jetwes (1 commits)")[![laemol](https://avatars.githubusercontent.com/u/3026444?v=4)](https://github.com/laemol "laemol (1 commits)")[![arjendejong12](https://avatars.githubusercontent.com/u/10572554?v=4)](https://github.com/arjendejong12 "arjendejong12 (1 commits)")[![LasseRafn](https://avatars.githubusercontent.com/u/2689341?v=4)](https://github.com/LasseRafn "LasseRafn (1 commits)")[![oyed](https://avatars.githubusercontent.com/u/172114265?v=4)](https://github.com/oyed "oyed (1 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (1 commits)")

### Embed Badge

![Health badge](/badges/vikilaboy-laravel-bird-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/vikilaboy-laravel-bird-notifications/health.svg)](https://phpackages.com/packages/vikilaboy-laravel-bird-notifications)
```

PHPackages © 2026

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