Skip to content

a notify class to easily create and display banner notifications in HTML/CSS

Notifications You must be signed in to change notification settings

runninguru/notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notify - PHP 7

a notify class to easily create and display banner notifications in PHP 7/HTML/CSS

mit license

This class will display banner notifications in a typical manner: red, yellow, green, and blue for each error, warning, success, and info banners. All errors of a given type are appended to each other until they are displayed, and multiple types of banners can be displayed simultaneously.

How it works

It's pretty simple

create a note

$note = new Notification();

$note->addNote('error', 'Incorrect Password');

create a note with a generic message.

$note->addNote('error');

display notes

This will also unset the object's properties, deleting the notes after they have been displayed.

$note->notify();

Issues

No known issues.

You can report the bugs at the issue tracker

⬆️[Back to Top]


License

Kyle Birch(@runninguru) under MIT License

⬆️[Back to Top]

About

a notify class to easily create and display banner notifications in HTML/CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published