Skip to content

Laravel Error Tracking

DebugMate monitors common Laravel-specific errors to ensure robust application functionality. Below are frequent issues that can arise in Laravel, helping developers address issues efficiently.

Class Not Found: Indicates a missing or improperly referenced class.

Controller Not Found: Occurs when the specified controller class does not exist.

Division by Zero: Triggered by division operations with zero.

File Not Found: The referenced file could not be located.

Method Not Found: The method that was called is undefined.

Query Error: Points to SQL query issues.

Simple Exception: General Laravel exceptions.

Syntax Error: Signals syntax issues in the code.

Type Error: Indicates type mismatches.

Undefined Variable: References variables that are not defined.

View Not Found: The specified view could not be located.

Installation Process

Step 1: Install the DebugMate package using Composer:

bash
composer require debugmate/laravel

Step 2: Set your environment variables, you can find your key in the DebugMate dashboard.

Step 3: Run the following command to install DebugMate:

bash
php artisan debugmate:install

Step 4: Add log-channel configuration in your config/logging.php file:

php
'channels' => [
    'debugmate' => [
        'driver' => 'debugmate'
    ],
],

Step 5: Change in your .env file:

dotenv
LOG_CHANNEL=debugmate

Step 6: Test your configuration by running:

bash
php artisan debugmate:test