Download the PHP package vironeer/toastr without Composer
On this page you can find all versions of the php package vironeer/toastr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vironeer/toastr
More information about vironeer/toastr
Files in vironeer/toastr
Package toastr
Short Description A Laravel package for displaying toast notifications.
License MIT
Informations about the package toastr
Vironeer Toastr for Laravel
Vironeer Toastr is a Laravel package that provides an easy way to display toast notifications in your Laravel applications.
Table of Contents
- Installation
- Usage
- Configuration
- Contributing
- License
Installation
To get started with Vironeer Toastr, follow these steps:
Prerequisites
- Laravel 8+
- PHP 8.0 or higher
- Composer
Install the Package
You can install the package via Composer:
Publish Configuration
Publish the package configuration file to customize Toastr settings:
Setup Assets
You can use (CDN) assets and render Toastr notifications :
Or you can publish the assets (CSS and JS) to your public directory:
And include them in your HTML page:
Usage
You can display Toastr notifications anywhere in your Laravel application using the provided helper function or facade:
Using the Helper Function
Using the Facade
You can also use the Toastr facade to display notifications:
Configuration
You can customize Toastr settings by modifying the configuration file located at config/toastr.php. Here you can specify notification options, duration, position, and more.
Contributing
We welcome contributions from the community. If you find a bug, have a feature request, or want to improve the package, please open an issue or submit a pull request.
License
This package is open-source software and is licensed under the MIT License.
You are free to use, modify, and distribute this package in your projects, both personal and commercial. However, we kindly request that you include the original license notice and attribution when using this package in your projects.
For the full text of the MIT License, see the LICENSE file included in this repository.
Contact
For support, questions, or feedback, please don't hesitate to reach out to us:
- Email: [email protected]
We value your input and are here to assist you with any inquiries or assistance you may need.