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

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

Error Explorer WordPress SDK

Automatically send WordPress errors to Error Explorer monitoring platform for better error tracking and debugging.

Features

Installation

Method 1: WordPress Plugin (Recommended)

  1. Download the plugin files to your WordPress wp-content/plugins/ directory
  2. Activate the plugin through the WordPress admin
  3. Configure the plugin in Settings > Error Explorer

Method 2: Composer Installation

Then include in your WordPress theme or plugin:

Configuration

WordPress Plugin Configuration

  1. Go to Settings > Error Explorer in your WordPress admin
  2. Configure the following options:
Option Description Default
Enable Error Reporting Enable/disable error reporting Disabled
Webhook URL Your Error Explorer project webhook URL Empty
Capture Request Data Include request data (GET, POST, headers) Enabled
Capture Session Data Include session and user data Enabled
Capture Server Data Include server environment data Enabled

Getting Your Webhook URL

  1. Log in to your Error Explorer dashboard
  2. Go to your project settings
  3. Copy the webhook URL (format: https://your-domain.com/webhook/error/your-token)

Manual Configuration

Usage

Automatic Error Handling

Once configured, the SDK automatically captures:

Manual Error Reporting

Breadcrumbs for Better Context

Add breadcrumbs to track user actions before an error:

WordPress Integration Examples

Theme Integration

Add to your theme's functions.php:

Plugin Integration

WooCommerce Integration

Track WooCommerce-specific events:

Testing

Test Error Functionality

The plugin includes a test error feature accessible from the admin settings page, or you can trigger it manually:

Using the Test Project

A complete test project is available in test-wordpress-project/:

This will run various error scenarios to test the SDK functionality.

Captured Data

The SDK captures comprehensive error context:

Error Information

Request Data (if enabled)

WordPress Data

Server Data (if enabled)

Session Data (if enabled)

Security

The SDK automatically sanitizes sensitive data:

Troubleshooting

Common Issues

  1. Errors not appearing in dashboard

    • Check webhook URL is correct
    • Verify error reporting is enabled
    • Check WordPress error logs for SDK errors
  2. Permission errors

    • Ensure WordPress has permission to make HTTP requests
    • Check firewall rules for outbound connections
  3. Missing dependencies
    • Run composer install if using Composer
    • Ensure Guzzle HTTP client is available

Debug Mode

Enable WordPress debug mode to see SDK errors:

Check /wp-content/debug.log for SDK-related messages.

Requirements

Support

For support and documentation, visit Error Explorer Documentation or create an issue in the project repository.

License

MIT License - see LICENSE file for details.


All versions of wordpress-error-reporter with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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/wordpress-error-reporter contains the following files

Loading the files please wait ....