Skip to content

Toast Notifications for Laravel Livewire, AlpineJS, and Bootstrap 5

License

Notifications You must be signed in to change notification settings

jecharlt/livewire-bootstrap-toaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toast Notifications for Laravel Livewire, AlpineJS, and Bootstrap 5

Installation

You can install the package via composer:

composer require jecharlt/livewire-bootstrap-toaster

Configurations for the animation and style of the toast notifications can be configured directly within the toast view

You can publish the toast view with:

php artisan vendor:publish --tag="livewire-bootstrap-toaster-views"

Usage

  1. Include the following in your layout view
<x-livewire-bootstrap-toaster::toast/> 
  1. To trigger a toast notification, use the following command in your Livewire component
    • Note:
      • Both the message and title are user-defined and optional
      • Type supported types include: success, error, info, warning
$this->toast("message", "title", "type")

Security Vulnerabilities

If you discover any security related issues, please reach out to me directly at 53029902b@gmail.com

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Toast Notifications for Laravel Livewire, AlpineJS, and Bootstrap 5

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published