debugbird/laravel is a Laravel package for debugbird laravel.
It currently has 0 GitHub stars and 4 downloads on Packagist (latest version 1.0.2).
Install it with composer require debugbird/laravel.
Discover more Laravel packages by debugbird
or browse all Laravel packages to compare alternatives.
Last updated
DebugBird Laravel SDK provides seamless log and crash collection for your Laravel applications, sending data to your DebugBird dashboard.
You can install the package via Composer:
composer require debugbird/laravel
Then, publish the configuration file:
php artisan vendor:publish --tag=debugbird-config
After publishing, configure your .env file:
DEBUGBIRD_PROJECT_ID=your_project_id
DEBUGBIRD_API_KEY=your_api_key
You can disable log or crash collection in your .env file:
DEBUGBIRD_DISABLE_LOGS=true
DEBUGBIRD_DISABLE_ERRORS=true
Once installed, DebugBird will automatically capture logs and exceptions based on the log level defined in your .env file.
You can manually log messages with different types:
use DebugBird\DebugBird;
DebugBird::log('info', 'This is an informational message');
DebugBird::log('warning', 'This is a warning message');
DebugBird::log('error', 'This is an error message');
If you want to manually capture exceptions, you can do:
try {
throw new Exception('Something went wrong!');
} catch (Exception $e) {
DebugBird::captureException($e);
}
Feel free to submit issues and pull requests to improve this SDK.
This package is proprietary. Contact [email protected] for licensing inquiries.