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

ActiveLibrary

wpzag/laravel-notifications
===========================

This is my package laravel-notifications

v1.0.4(3y ago)113MITPHPPHP ^8.1

Since Jul 14Pushed 3y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (8)Versions (6)Used By (0)

Test Repo 🚧 🚧 🚧
---------------

[](#test-repo---)

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

[](#installation)

You can install the package via composer:

```
composer require wpzag/laravel-notifications
```

Create notifications table

```
php artisan notifications:table
php artisan migrate
```

Usage
-----

[](#usage)

1. First we need to use the Notifiable trait in the user model:

```
    use Wpzag\LaravelNotifications\Traits\Notifiable;
    class User extends Authenticatable
    {
        use Notifiable;
     }
```

2. Then we need to create a notification class that extends BaseNotification class:

```
