Download the PHP package montopolis/mynabird without Composer
On this page you can find all versions of the php package montopolis/mynabird. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download montopolis/mynabird
More information about montopolis/mynabird
Files in montopolis/mynabird
Package mynabird
Short Description Laravel/Nova package for in-app alerts.
License MIT
Informations about the package mynabird
Mynabird
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).
Installation
The package can be installed through Composer.
Make sure all vendor files are published and migrations run:
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:
... and then add these two lines to the Nova layout template:
If you wish to use real-time notifications, make sure Pusher is configured via config/broadcasting.php
and/or the .env file; for example:
Alternatively if you wish to disable real-time notifications you may do so via the Mynabird configuration:
If broadcasting is disabled users will need to refresh to see new alerts.
Usage
You can trigger alerts using the AlertRepository
which (assuming MynabirdServiceProvider has been loaded) can be resolved through the Laravel IoC container:
Credits
- UI and stylesheets adapted from coreproc/nova-notification-feed.
License
This software uses the MIT License. Please see License File for more information.
All versions of mynabird with dependencies
illuminate/support Version ^9.0
illuminate/database Version ^9.0
illuminate/http Version ^9.0
nesbot/carbon Version >=2.37