Download the PHP package bubu-framework/flash without Composer
On this page you can find all versions of the php package bubu-framework/flash. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bubu-framework/flash
More information about bubu-framework/flash
Files in bubu-framework/flash
Download bubu-framework/flash
More information about bubu-framework/flash
Files in bubu-framework/flash
Vendor bubu-framework
Package flash
Short Description Flash message (Bubu Framework)
License MIT
Homepage https://github.com/bubu-framework/flash
Package flash
Short Description Flash message (Bubu Framework)
License MIT
Homepage https://github.com/bubu-framework/flash
Please rate this library. Is it a good library?
Informations about the package flash
Flash
Flash message property
-
General style:
- margin & padding: 10px
- border-radius: 75px
- font-weight: 1000
- font-size: 18px
- display: grid
-
Valid
- text color:
#3C763D - background color:
#DFFFD8 - icon:
✓
- text color:
-
Info
- text color:
#31708F - background color:
#D9EDF7 - icon:
🛈
- text color:
-
Alert
- text color:
#FF5D00 - background color:
#FFB149 - icon:
⚠
- text color:
- Error
- text color:
#FF3331 - background color:
#FFABAB - icon:
⨂
- text color:
Create flash message
-
Create flash message with default property
Flash::type($message);With:
- type -> in ['valid', 'info', 'alert', 'error']
- message -> (string)
-
Create flash message without default property but with general style
Flash::other($message, $colorText, $backgroundColor, $iconCode)With:
- message -> (string) message to show
- colorText -> (string) color of text (all color type supported by css suported)
- colorBackgroud -> (string) same of colorText but for background
- iconCode -> Code for icon (prefer hex code)
Generate flash message
- Generate message with css style:
Flash::generate(); - Generate message without default style:
Flash::rawGenerate()
Note: for the 2 methods, a class
flashis added, but, forrawGenerate, a second class named byflash-type(with type, the type of message (valid, info, alert, error, other)) is added.
All versions of flash with dependencies
PHP Build Version
Package Version
The package bubu-framework/flash contains the following files
Loading the files please wait ...