Download the PHP package jambasangsang/flash without Composer
On this page you can find all versions of the php package jambasangsang/flash. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jambasangsang/flash
More information about jambasangsang/flash
Files in jambasangsang/flash
Download jambasangsang/flash
More information about jambasangsang/flash
Files in jambasangsang/flash
Vendor jambasangsang
Package flash
Short Description This package will send flash notification to your application
License MIT
Package flash
Short Description This package will send flash notification to your application
License MIT
Please rate this library. Is it a good library?
Informations about the package flash
Laravel Flash Notification
Flash Notification Types:
Installation
Quick Installation using composer.
Run:
Then you can add the service provider to config/app.php
.
In Laravel versions 5.6 and beyond, this step can be skipped if package auto-discovery is enabled.
Publish the configuration file:
If not found run the below command:
And select Jambasangsang\Flash\FlashNotificationServiceProvider
Usage
1. If your application is using jQuery do not include [@jQuery], Otherwise Add the below code in your main view template:
CSS
@flashStyle
,
JS
@jQuery
,
@flashScript
,
@flashRender
Example:
2. Within your controllers, before you perform a redirection...
Example:
You may also use other options below:
LaravelFlash::withInfo('You have pay your bills this week!')
LaravelFlash::withSuccess('Your Record has been saved successfully!')
LaravelFlash::withWarning('You have an security issue try to fix that!')
LaravelFlash::withError('Your Record was not saved Fail!')
configuration:
to customize your flash notification.
Credits
- Alagie Singhateh
- All Contributors
License
MIT
All versions of flash with dependencies
PHP Build Version
Package Version
No informations.
The package jambasangsang/flash contains the following files
Loading the files please wait ....