From the package's composer.json:
composer require ranetrace/ranetrace-laravel
The service provider and Ranetrace facade alias are auto-discovered.
.envRANETRACE_ENABLED=true
RANETRACE_KEY=your-key-here
Both are required: RANETRACE_ENABLED is the master switch and defaults to false. RANETRACE_KEY is read by the package to authenticate with the API.
php artisan vendor:publish --tag=ranetrace-config
This creates config/ranetrace.php. The defaults are usable as-is; publish only if you want to customize buffer sizes, queue names, per-feature timeouts, or the lists of ignored JS errors / excluded log channels / excluded analytics paths.
php artisan ranetrace:status
Status output shows which features are enabled, buffer sizes, and any active pauses.
Defaults straight from config/ranetrace.php:
| Feature | Default |
|---|---|
Error Tracking (errors.enabled) |
On |
Event Tracking (events.enabled) |
On |
Centralized Logging (logging.enabled) |
Off |
Website Analytics (website_analytics.enabled) |
Off |
JavaScript Errors (javascript_errors.enabled) |
Off |
Schedule the worker — without it, buffered data never reaches the API.