You can install the package via Composer:
composer require adilazhari/laravel-traceYou may publish all of the package's resources at once:
php artisan vendor:publish --tag="laravel-trace"Or, you may publish each resource individually:
php artisan vendor:publish --tag="laravel-trace-config"php artisan vendor:publish --tag="laravel-trace-migrations"
php artisan migratephp artisan vendor:publish --tag="laravel-trace-views"php artisan vendor:publish --tag="laravel-trace-lang"php artisan vendor:publish --tag="laravel-trace-assets"By default, traces and spans are held in memory for the lifetime of the
request. To persist them, publish and run the migrations (above), then set
the storage driver to database:
// config/laravel-trace.php
'storage' => [
'driver' => 'database',
'database' => [
'connection' => null, // defaults to your app's default connection
'swallow_exceptions' => true,
],
],A storage write failure is logged and swallowed by default, so a database
outage or a missing table never breaks the host application - set
swallow_exceptions to false while debugging your setup to let it throw
instead.
Please see CHANGELOG for more information on what has changed recently.
Thank you for considering contributing to Laravel Trace! Please review our contributing guide to get started.
Please review our security policy on how to report security vulnerabilities.
Laravel Trace is open-sourced software licensed under the MIT license.