Download the PHP package error-explorer/laravel-error-reporter without Composer

On this page you can find all versions of the php package error-explorer/laravel-error-reporter. 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-error-reporter

Error Reporter Package for Laravel

A Laravel package that automatically captures and reports exceptions to your Error Explorer monitoring platform.

Features

Installation

Step 1: Install the Package

Step 2: Publish Configuration (Optional)

The package works out of the box, but you can optionally publish the configuration file:

Step 3: Configure Environment Variables

Add these variables to your .env file:

Configuration Options

Option Type Required Description
ERROR_WEBHOOK_URL string Yes The base URL of your Error Explorer instance
ERROR_WEBHOOK_TOKEN string Yes Unique project token from Error Explorer
ERROR_PROJECT_NAME string No Name identifier for your project (defaults to APP_NAME)
ERROR_REPORTING_ENABLED boolean No Enable/disable error reporting (default: true)

Default Ignored Exceptions

By default, these common Laravel exceptions are ignored:

You can override this list in the published configuration file.

Usage

Automatic Error Reporting

Once configured, the package automatically captures and reports:

Manual Error Reporting

Option 1: Using the Facade (Recommended)

Option 2: Using the Static Class

Option 3: Service Injection

Quick Helpers

Custom Messages & Events

Report Custom Messages

Report important events or custom messages without exceptions:

Track Error Context with Breadcrumbs

Add breadcrumbs to track what led to an error. Best Practice: Only log critical steps that might fail, error conditions, or context needed for debugging - avoid logging successful operations:

💡 When to use breadcrumbs:

  • Before critical operations that might fail
  • When errors or warnings occur
  • For navigation paths leading to errors
  • To track slow or problematic operations

When NOT to use:

  • Successful operations
  • Normal business flow that works fine
  • Too granular steps that add noise

Real-World Example

Data Captured

The package captures comprehensive error context:

Exception Data

Request Context

Server Context

Breadcrumbs & User Journey

Security Features

Sensitive data is automatically sanitized:

Sensitive values are replaced with [REDACTED].

Error Fingerprinting

Errors are automatically grouped using a fingerprint based on:

This allows Error Explorer to group similar errors together.

Compatibility

PHP & Laravel Support

Component Minimum Version Recommended
PHP 7.4+ 8.1+
Laravel 8.0+ 10.0+

Supported Laravel Versions

Compatibility Matrix

PHP Version Laravel 8.x Laravel 9.x Laravel 10.x Laravel 11.x
7.4
8.0
8.1
8.2
8.3+

The package automatically adapts to your PHP and Laravel version for maximum compatibility.

Development vs Production

Development Environment

Production Environment

Troubleshooting

Package Not Capturing Errors

  1. Check that ERROR_REPORTING_ENABLED=true
  2. Verify your webhook URL and token are correct
  3. Check Laravel logs for any HTTP client errors
  4. Ensure the exception is not in the ignored list

HTTP Client Errors

The package silently fails if the webhook is unreachable. Check your logs:

Testing the Integration

Create a test route to verify the integration:

Service Provider Issues

If the service provider is not auto-discovered, manually register it in config/app.php:

Advanced Configuration

Custom Exception Handler

If you have a custom exception handler, you can manually integrate Error Explorer:

Custom Ignored Exceptions

Customize which exceptions to ignore:

Performance Considerations

License

MIT License

Support

For issues and questions:

  1. Check the Error Explorer documentation
  2. Review this README
  3. Check your Error Explorer dashboard for received errors
  4. Verify your configuration and environment variables

All versions of laravel-error-reporter with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/config Version ^8.0|^9.0|^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.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 error-explorer/laravel-error-reporter contains the following files

Loading the files please wait ....