Skip to content

nanuc/laravel-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package lets you use notifications in your applications. It comes with one table for notifications and another one to attach those to users.

Installation

composer require nanuc/laravel-notifications

Then publish the config file: php artisan vendor:publish --provider="Nanuc\LaravelNotifications\LaravelNotificationsServiceProvider

Here you can define where you user model lives.

Usage

Add the HasNotificaitons trait to your model. Now you can use the built-in helpers like dueNotificationsForUser, dueNotifications, notifications to query specific notificstions for you user model.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages