Download the PHP package irabbi360/laravel-log-notifier without Composer

On this page you can find all versions of the php package irabbi360/laravel-log-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-log-notifier

Laravel Log Notifier

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Real-time Laravel error monitoring with Toast Notifications

Laravel Log Notifier is a developer-friendly Laravel package that captures application exceptions and sends real-time in-app toast notifications instantly.

It helps you stay informed about errors as they happen, without constantly checking logs or using expensive third-party services like Sentry or Bugsnag.

Key Features

Installation

Install via Composer:

Publish the config file:

Configuration

Configure your settings in config/log-notifier.php:

Quick Start

Step 1: Register Exception Handler

In your bootstrap/app.php, add the Log Notifier exception handler:

Step 2: Add Notification Component

Add the notification component to your main layout (e.g., resources/views/layouts/app.blade.php):

Step 3: Enable in Environment

Make sure the package is enabled (default is true):

Done! All exceptions will now trigger real-time toast notifications. 🎉

📖 Usage

Automatic Error Capture

The package automatically captures all exceptions in your Laravel application. No manual setup required:

Enable/Disable Notifications

Control the package via configuration:

Or via environment variable:

Filter Error Levels

Control which error levels trigger notifications:

Display Notifications in Your App

Add this single line to your main layout file (e.g., resources/views/layouts/app.blade.php):

That's it! Errors will now show as toast notifications across your entire application.

Toast Notifications

Toast notifications appear automatically when exceptions occur in your application:

Features

User Interactions

How It Works

The package uses Server-Sent Events (SSE) for real-time error delivery:

Real-Time Delivery

Security

Testing

Troubleshooting

Toast Notifications Not Appearing?

Check 1: Verify package is enabled

Check 2: Ensure notification view is included in layout

Check 3: Check browser console for errors Open DevTools (F12) and look for JavaScript errors.

Check 4: Verify error levels match configuration

No Sound on Critical Errors?

Make sure sound is enabled in config:

Note: Browsers may require user interaction before playing audio.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of laravel-log-notifier with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 | ^8.2 | ^8.3
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0 | ^11.0 | ^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package irabbi360/laravel-log-notifier contains the following files

Loading the files please wait ...