Toaster
Easily generate and bind message data to the view for use in frontend JS components
Install / Use
/learn @Laralabs/ToasterREADME
<p align="center">
<img src="http://docs.laralabs.uk/toaster/images/toaster_logo_text.png" height="253px" width="236px" />
</p>
<p align="center">
<a href="https://packagist.org/packages/laralabs/toaster"><img src="https://poser.pugx.org/laralabs/toaster/version" alt="Stable Build" /></a>
<a href="https://github.com/Laralabs/toaster/actions"><img src="https://github.com/Laralabs/toaster/actions/workflows/.github-actions.yml/badge.svg" alt="CI Status" /></a>
<a href="https://styleci.io/repos/103109905"><img src="https://styleci.io/repos/103109905/shield?branch=master" alt="StyleCI"></a>
<a href="https://codeclimate.com/github/Laralabs/toaster"><img src="https://codeclimate.com/github/Laralabs/toaster/badges/gpa.svg" /></a>
<a href="https://codeclimate.com/github/Laralabs/toaster/test_coverage"><img src="https://api.codeclimate.com/v1/badges/24d1ca24be59a4952716/test_coverage" /></a>
<a href="https://codecov.io/gh/Laralabs/toaster"><img src="https://codecov.io/gh/Laralabs/toaster/branch/master/graph/badge.svg?token=LZ3SIO46CN"/></a>
</p>
The toaster package for Laravel provides a quick 'n' easy method for creating toast messages and binding the data to your view as a JS variable.
You can then access them in your favourite JS component or use laralabs-vue-toaster, built for this package.
composer require laralabs/toaster
Documentation
Full documentation can be found at the link below:
Preview
<p align="center"> <img src="https://docs.laralabs.uk/toaster/images/toasterexample3.gif" height="226px" width="408px" /> </p>Example of Toaster being used with laralabs-vue-toaster, this setup is included within the documentation.
Demo
A live demo is available here
Support
Please raise an issue on GitHub if there is a problem.
License
This is open-sourced software licensed under the MIT License.
