PHPackages                             carkii/notifier - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. carkii/notifier

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

carkii/notifier
===============

1.0.5(5y ago)041PHP

Since Sep 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/carkii/notifier)[ Packagist](https://packagist.org/packages/carkii/notifier)[ RSS](/packages/carkii-notifier/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (6)DependenciesVersions (6)Used By (0)

notifier
========

[](#notifier)

Notifier is a laravel library that helps you to popup notifications to your registered users.

requirements
============

[](#requirements)

1- Jquery

How to install ?
================

[](#how-to-install-)

- Composer: type `composer require carkii/notifier`

configaration (provider &amp; alias)
------------------------------------

[](#configaration-provider--alias)

in `config\app.php`, add notifier service provider :

```
'providers' => [
    /*
    //
    other providers
    //
    */
    Carkii\Notifier\NotifierServiceProvider::class,
  ]
```

and add aliase to same file:

```
'aliases' => [
    /*
    //
    other aliases
    //
    */
    'Notifier' => Carkii\Notifier\facades\Notifier::class,
  ]
```

publish
-------

[](#publish)

publish the required files by typing `php artisan vendor:publish` in terminal.

This will add the following to your project:

1- /config/notifier.php

2- /resources/views/notifications/\_cardExample.blade.php

3- /resources/views/notifications/\_ModalExample.blade.php

4- /public/css/notifications.css

5- /public/js/notifications.js

migrate `notifications` table
-----------------------------

[](#migrate-notifications-table)

in your terminal, type : `php artisan migrate`

Note: this library supposed that you already migrated the users table under `users` name in your database.

add CSRF\_token
---------------

[](#add-csrf_token)

add CSRF\_token to your head tag, add: `php  ` to your tag in html

How to use?
===========

[](#how-to-use)

1- Modal (popup)
----------------

[](#1--modal-popup)

1- login in to your website

2- add the following at the end of your page (default: app.blade.php):

```
{!! Notifier::break(0,30,0)->get()->first() !!}
{!! Notifier::addStylesAndScriptes() !!}
```

3- remove the first underscore (\_) from `/resources/views/notifications/_ModalExample.blade.php` to be as `/resources/views/notifications/ModalExample.blade.php`. (this example is using bootstrap)

Note:

```
- break($days,$hours,$minutes) is used to add a break time between notifications.

- the first underscore of your notification file tells Notifier to ignore this file.

- All of your notifications are located in ```/resources/views/notifications/```, each notification in each file (blade template) So, whenever you add a file to this folder, it means you are adding a new notification to your list.

```

4- visit your website :)

2- Card (list of notifications)
-------------------------------

[](#2--card-list-of-notifications)

1- login in to your website

2- add the following to your page (default: app.blade.php, recommended in navbar):

```
// get list of notifications and diaply them as a list
// navbar

           Notifications
         @if(Notifier::count())
           {{Notifier::count()}}
         @endif

         @if(Notifier::any())
           @foreach(Notifier::get() AS $notification )
           {!! $notification !!}
           @endforeach
         @else
           No Notifications
         @endif

//end of navbar

//end of your page's body
{!! Notifier::addStylesAndScriptes() !!}
```

3- remove the first underscore (\_) from `/resources/views/notifications/_CardExample.blade.php` to be as `/resources/views/notifications/CardExample.blade.php`. (this example is using bootstrap)

4- visit your website :)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~332 days

Total

5

Last Release

1838d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75a58cb8c871320f5d203fd01630b9a203040d452d482afb49046ac31aecdf1e?d=identicon)[carkii](/maintainers/carkii)

---

Top Contributors

[![carkii](https://avatars.githubusercontent.com/u/17238234?v=4)](https://github.com/carkii "carkii (8 commits)")

### Embed Badge

![Health badge](/badges/carkii-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/carkii-notifier/health.svg)](https://phpackages.com/packages/carkii-notifier)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
