Download the PHP package debugmate/php without Composer
On this page you can find all versions of the php package debugmate/php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download debugmate/php
More information about debugmate/php
Files in debugmate/php
Package php
Short Description A Freemium package to help you tracking your project errors
License MIT
Informations about the package php
PHP Debugmate
Debugmate is a beautiful error tracking package that will help your software team to track and fix errors.
Composer Installation
This package is compatible with PHP 7.3 or greater.
Add these lines to the composer.json file in your project root:
Create the auth.json file with this content in your project root:
Now you can install the package:
Configuration
So that the debugmate can send the errors to the application you need to define this environment configuration in your .env file
Testing
You're able to send a fake error to the Debugmate as a test by running this command:
Set logged user
Using the function below when reporting an error, the debugmate will send the data of the logged in user according to what was returned by Closure.
Reporting Unhandled Exceptions
To ensure all unhandled errors and exceptions are automatically reported to Debugmate, register our exception handler with the following code:
All versions of php with dependencies
spatie/backtrace Version ^1.2 <1.6.0
illuminate/support Version ^6.9|^7.0|^8.0|^9.0
illuminate/http Version ^8.8|^9.28
illuminate/container Version ^8.83|^9.28
guzzlehttp/guzzle Version ^7.5
symfony/console Version v5.4|v6.1
symfony/dotenv Version v5.4|v6.1