Download the PHP package novu/novu-laravel without Composer
On this page you can find all versions of the php package novu/novu-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download novu/novu-laravel
More information about novu/novu-laravel
Files in novu/novu-laravel
Package novu-laravel
Short Description Novu for Laravel
License MIT
Homepage https://novu.co
Informations about the package novu-laravel
Novu for Laravel
A package to easily integrate Novu into your Laravel application. Send multi-channel (SMS, Email, Chat, Push, In-App) notifications and embed Notification Centers seamlessly in your app.
Contents
- Installation
- Usage
- Novu API Reference
- In-App Notifications
- Events
- Subscribers
- Topics
- Activity
- Integrations
- Layouts
- Notifications
- Notification Templates
- Notification Groups
- Changes
- Environments
- Feeds
- Messages
- Execution Details
- Tenants
- Validate the MX Record setup for Inbound Parse functionality
- Configuration
- License
- Novu API Reference
Installation
PHP 7.3+ and Composer are required. Supports Laravel 7, 8, 9 and 10 out of the box.
To get the latest version of Novu Laravel, simply require it:
Configuration
You can publish the configuration file using this command:
A configuration file named novu.php
with some sensible defaults will be placed in your config
directory:
API Keys
Open your .env
file and add your API Key.
Note: You need to get these credentials from your Novu Dashboard.
Usage
In-App Notification Center
Novu relies on its own JavaScript library to initiate and display the In-App Notification Center. You can load the JavaScript library by placing the @novuJS directive right before your application layout's closing </head>
tag:
Use the x-notification-center
Blade notification center component in the body like so:
Note: If you're using this package for a Laravel API Backend, you don't need to use this! Use the In-App Notification Center JavaScript library available for Vue, React, Angular and Vanilla JS.
Important Info
You can use the Novu
Facade or the novu()
helper function to call the methods in this package.
EVENTS
Trigger an event - send notification to subscribers:
Bulk Trigger events:
Trigger an event - send notification to topics
Broadcast event to all existing subscribers:
Cancel triggered event. Using a previously generated transactionId during the event trigger, this action will cancel any active or pending workflows:
SUBSCRIBERS
TOPICS
ACTIVITY
INTEGRATIONS
LAYOUTS
NOTIFICATIONS
NOTIFICATION TEMPLATES
NOTIFICATION GROUPS
CHANGES
ENVIRONMENTS
FEEDS
MESSAGES
EXECUTION DETAILS
TENANTS
Validate the MX Record setup for Inbound Parse functionality
License
Licensed under the MIT license.
All versions of novu-laravel with dependencies
ext-json Version *
illuminate/support Version ~6|~7|~8|^9.0|^10.0|^11.0
unicodeveloper/novu Version ^1.2