Download the PHP package rezaulhreza/flash-toast without Composer
On this page you can find all versions of the php package rezaulhreza/flash-toast. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rezaulhreza/flash-toast
More information about rezaulhreza/flash-toast
Files in rezaulhreza/flash-toast
Package flash-toast
Short Description A fluent toast manager built with TALL stack.
License MIT
Homepage https://github.com/rezaulhreza/flash-toast
Informations about the package flash-toast
Flash Toast- Toast library with Livewire and Alpine
Demo Project
Installation
You can install the package via composer:
then publish the config file
publish the view files
Once you publish the file, move the files from
to
.
now you can place the file anywhere you want such as
alterantively, just do:
Usage
Runs with the TALL stack: Laravel, TailwindCSS, Livewire, AlpineJS.
Guide:
Available methods: success- info - warning - danger. title, html, level, duration.
use in the component class.
In the component class: Example:
Of course the above are customisable.
To add a html code or title or duration even custom level(level is the type of toast e.g. - success, info etc). Example:
p.s: to showcase the usage in the readme, a space was left intentionally otherwise it would compile the markdown preview with h1. Use actual markup when using within the applciation scenario.
Blade component:
Styles are inside a blade file, however, you can customize it
An example is given below
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Rezaul H Reza
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of flash-toast with dependencies
spatie/laravel-package-tools Version ^1.13.0
illuminate/contracts Version ^9.0
livewire/livewire Version ^2.10