Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laranotify Laravel Package

coderatio/laranotify

Advanced Laravel notifications/alerts built on Bootstrap Notify/Growl. Chain fluent methods to show elegant on-screen messages, blockables, and notifications, with template customization and publishable sample views.

View on GitHub
Deep Wiki
Context7

A feature-rich laravel package that turns bootstrap notify jQuery plugin to dynamic notifications, alerts and blockables.

Frequently asked questions about Laranotify
Does Laranotify work with Laravel 8/9/10, or is it limited to older versions?
Laranotify was last updated in 2018 and officially supports Laravel 5.x. While it may work with newer versions, you may need Composer patches or manual adjustments for Laravel 8/9/10 compatibility. Test thoroughly in a staging environment before production use.
How do I install Laranotify in a Laravel project?
Run `composer require coderatio/laranotify` in your terminal. For Laravel versions below 5.5, manually register the service provider and aliases in `config/app.php`. Laravel 5.5+ supports auto-discovery, so no extra steps are needed beyond installation.
Can I customize the notification templates to match my app’s design?
Yes, Laranotify allows template customization. Publish the sample template by running `php artisan vendor:publish --tag=laranotify-views`, then modify the Blade file in `resources/views/vendor/laranotify/`. This lets you override default styles and layouts.
Will Laranotify work with modern frontend frameworks like Vue, React, or Alpine.js?
No, Laranotify relies on jQuery and Bootstrap Notify, which are outdated and incompatible with modern SPAs. For Vue/React/Alpine.js, consider alternatives like `notyf` or `laravel-notification-channels` with frontend event listeners instead.
How do I trigger notifications from controllers or middleware?
Use the `Notify` facade to chain methods like `Notify::success('Message')->show()` or `Laranotify::alert('Warning')->blockable()`. You can also use session flash data (e.g., `Session::flash('status', 'Success')`) for Blade-based notifications.
Is Laranotify suitable for API-only Laravel applications without Blade?
No, Laranotify is designed for Blade-based Laravel apps. For API-only projects, return JSON responses and handle client-side notifications via JavaScript (e.g., `window.dispatchEvent` or frontend libraries like Toastify).
What are the risks of using Bootstrap Notify (last updated in 2015) in a production app?
Bootstrap Notify may introduce security vulnerabilities or browser compatibility issues due to its age. If your project uses jQuery/Bootstrap 3, weigh the risks against alternatives like `bootstrap-5-notify` or Alpine.js-based solutions.
Can I use Laranotify with Tailwind CSS or Bootstrap 5 instead of Bootstrap 3?
Laranotify is built for Bootstrap 3 and jQuery. While you can manually override styles, full compatibility with Tailwind or Bootstrap 5 isn’t guaranteed. Consider forking the package or using a modern alternative like `laravel-toastr` for better integration.
How do I handle real-time notifications (e.g., WebSocket updates) with Laranotify?
Laranotify relies on session flash data, which is request-scoped. For real-time updates, use Laravel Echo + Pusher or Laravel WebSockets to push JSON events, then handle notifications client-side with JavaScript libraries like `notyf` or `toastr`.
Are there any alternatives to Laranotify for Laravel notifications?
Yes, consider `spatie/laravel-notification-channels`, `laravel-toastr`, or `darkaonline/l5-swagger` for API docs with notifications. For modern frontends, `notyf` (Alpine/Vue) or `laravel-breeze` with custom alerts are better fits. Evaluate based on your stack (Blade vs. SPA).
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle