PHPackages                             montopolis/mynabird - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. montopolis/mynabird

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

montopolis/mynabird
===================

Laravel/Nova package for in-app alerts.

1.0.0(3y ago)41.5kMITPHPPHP ^8.0

Since Nov 18Pushed 3y ago2 watchersCompare

[ Source](https://github.com/montopolis/mynabird)[ Packagist](https://packagist.org/packages/montopolis/mynabird)[ RSS](/packages/montopolis-mynabird/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (8)Used By (0)

Mynabird
========

[](#mynabird)

[![](imgs/logo.jpg)](imgs/logo.jpg)

Laravel/Nova package for Facebook-style alerts.

Currently supports Pusher for real-time notification when a new alert is received (and dynamic update of the unread counter).

[![](imgs/screenrecording.gif)](imgs/screenrecording.gif)

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

[](#installation)

The package can be installed through Composer.

```
composer require montopolis/mynabird
```

Make sure all vendor files are published and migrations run:

```
php artisan vendor:publish --provider="Montopolis\Mynabird\MynabirdServiceProvider"
php artisan migrate
```

Assuming you're using Nova, you'll also need to publish Nova's vendor templates (if you haven't already) so you can insert the Mynabird partials:

```
php artisan nova:publish
```

... and then add these two lines to the Nova layout template:

```
// in file: resources/views/vendor/nova/layout.blade.php

  ...

      @include('nova::partials.user')

  @include('mynabird::alert-feed')

  ...

        window.Nova = new CreateNova(config)

    @include('mynabird::javascript')

   ...
```

If you wish to use real-time notifications, make sure Pusher is configured via `config/broadcasting.php` and/or the .env file; for example:

```
# Set the broadcast driver to send events to Pusher:
BROADCAST_DRIVER=pusher

# Add the pusher config, which you can find/configure via the dashboard: https://dashboard.pusher.com
PUSHER_APP_ID=aaabbbcccdddeeefffgg
PUSHER_APP_KEY=hhhiiijjjkkklllmmmnn
PUSHER_APP_SECRET=1000001
PUSHER_APP_CLUSTER=mt1
```

Alternatively if you wish to disable real-time notifications you may do so via the Mynabird configuration:

```
