{"repo":"mckenziearts/laravel-notify","free":true,"listed":false,"github":"https://github.com/mckenziearts/laravel-notify","clone":"git clone https://github.com/mckenziearts/laravel-notify.git","description":"Flexible Flash notifications for Laravel","language":"PHP","stars":1732,"topics":["toast","notifications","laravel-package","laravel","flash-messages"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Introduction Laravel Notify is a lightweight Laravel package for displaying backend-driven notifications in your application. Installation You can install the package using composer You can publish the configuration file and assets by running: Option 1: With Tailwind CSS & Alpinejs If your project already uses Tailwind CSS 4.x, follow these steps to integrate Laravel Notify directly into your build process. Step 1: Configure Tailwind to scan package files In your resources/css/app.css , add the package's Blade files to Tailwind's content sources using the @source directive: Step 2: Import the JavaScript In your resources/js/app.js , import Alpine.js if you haven't already: Step 3: Add the notification component to your layout In your main Blade layout file (e.g., resources/views/layouts/app.blade.php ): Step 4: Build your assets ✅ Done! Tailwind will automatically generate CSS for all the notification styles used in the package. Option 2: Without Tailwind CSS If you don't use Tailwind CSS in your project, you can use the pre-compiled CSS and JavaScript files. Add directives to your layout ✅ Done! The pre-compiled assets will be loaded from your public/vendor/mckenziearts/laravel-notify/dist/ directory. Usage Within your controllers, before you perform a redirect call the notify method with a title. Type of notifications Laravel Notify actually display 5 types of notifications 1. toast notification, (The default notification for Laravel Notify) 2. connectify notification, exam","default_branch":null,"files":null,"tree":[],"storefront":"/r/mckenziearts","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mckenziearts/laravel-notify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}