jeykeu/notify

A notification system for your website.

dev-master 2016-12-13 10:17 UTC

This package is auto-updated.

Last update: 2024-10-29 04:52:53 UTC


README

Bootstrap3 notifications for PHP

##Demo

Here's a Demo using Native PHP.

Install

Via Composer

{
    "require": {
        "jeykeu/notify": "~1.0"
    }
}

Usage

$notify = new JeyKeu\Notify\Notify();

//Add a notification
$notify->add($handle, $viewData, $type, $isVolatile, $isDissmissable, $excludePages);

//Remove a notification
$notify->remove($handle);

Testing

$ phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.