tylercd100/laravel-notify
Laravel Notify adds a simple notification layer for Laravel, sending messages through Monolog-backed channels like email, Slack, Pushover, SMS (Twilio/Plivo), Sentry, Mailgun, Flowdock, Fleep, and more. Includes config publishing and Laravel 5.1–8 support.
config/notify.php.Notify::error("Payment failed", ['user_id' => 123, 'amount' => 99.99])).Avoid if:
Notification classes or a package like spatie/laravel-newsletter instead.Use this package if:
"This package lets us send alerts (emails, SMS, Slack messages) from any part of our Laravel app with a single line of code—like Notify::error('Database down!'). It’s a plug-and-play solution to replace scattered email/SMS logic, saving dev time and reducing bugs. For example, if our payment system fails, we can instantly alert the team via Slack and text the CTO—all configured in one place. It’s low-risk (MIT license) and integrates with tools we already use (Twilio, Sentry). Let’s pilot it for our monitoring system first."
*"Problem: We’re duplicating notification logic across services (e.g., Mail::send() for emails, Slack::send() for alerts). This package unifies them under a Monolog-based system with facades like Notify::info() or Slack::warning().
Benefits:
config/notify.php.Notification classes for user-facing messages."**"This package helps us centralize alert routing so we’re not writing custom scripts for every notification type. For example:
Notify::critical("Server overload") → Slack + SMS (Twilio).Notify::debug("API latency high") → Sentry (for postmortems).Notify::info("Admin deleted account") → Email (admin) + Flowdock (team).
Why not build? It’s battle-tested (MIT, 11 stars) and handles edge cases like SMS character limits. We can extend it later if needed."*How can I help you explore Laravel packages today?