Download the PHP package azenox/flashmcqueen without Composer
On this page you can find all versions of the php package azenox/flashmcqueen. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package flashmcqueen
Flash Mc Queen
Session based PHP Flash Messages.
Store messages in sessions and display them when you need.
Features
- Customize icons, colors, or use predefined functions
- Namespaced
- Persistent messages
Installation
Via composer
`
Via file (Download PHP file (and style if you want), from this repository).
``
Usage
``
Fell free to use and modify style.css in src/ directory to stylise messages.
List of all methods
Success
`
- $msg: The displayed message
- $persistent: true if the message will be remains on the screen until the user remove it (Default: false)
- $delays: It's an associative array with 3 optional keys:
- fadeIn (Default: 1): Number of seconds of the fade in animation
- stay (Default: 5): Number of seconds while the message will stay on the screen
- fadeOut (Default: 1): Number of seconds of the fade out animation
- $floatingIcon: true if the icon should be animated
Warning
`
- $msg: The displayed message
- $persistent: true if the message will be remains on the screen until the user remove it (Default: false)
- $delays: It's an associative array with 3 optional keys:
- fadeIn (Default: 1): Number of seconds of the fade in animation
- stay (Default: 5): Number of seconds while the message will stay on the screen
- fadeOut (Default: 1): Number of seconds of the fade out animation
- $floatingIcon: true if the icon should be animated
Custom
* $msg: The displayed message
* $icon: It can be any character or any SVG
* $color: A hex color (with '#' at the beginning)
* $persistent: true if the message will be remains on the screen until the user remove it (Default: false)
* $delays: It's an associative array with 3 optional keys:
* **fadeIn** (Default: 1): Number of seconds of the fade in animation
* **stay** (Default: 5): Number of seconds while the message will stay on the screen
* **fadeOut** (Default: 1): Number of seconds of the fade out animation
* $floatingIcon: true if the icon should be animated
## About
This is my first big project, so let me know if there are any errors or if you want me to add/modify something.
All versions of flashmcqueen with dependencies
PHP Build Version
Package Version
No informations.
The package azenox/flashmcqueen contains the following files
Loading the files please wait ....