rocketeers-app / laravel
Rocketeers integration for Laravel
Requires
- php: ^8.1
- illuminate/support: ^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
- monolog/monolog: ^2.0 || ^3.0
- rocketeers-app/rocketeers-api-client: ^1.0
Requires (Dev)
- phpunit/phpunit: ^10.0 || ^11.0 || ^12.0
This package is auto-updated.
Last update: 2026-07-05 18:44:50 UTC
README
Laravel integration package with Rocketeers app.
Installation
You can install this package via Composer:
composer require rocketeers-app/rocketeers-laravel
Configure rocketeers in your stack logging configuration, so you keep your normal logging with additional Rocketeers logging:
'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['rocketeers', 'daily'], 'ignore_exceptions' => false, ], 'rocketeers' => [ 'driver' => 'rocketeers', 'level' => 'debug', ], // ...
Make sure that in the logging configuration the default log channel is stack:
'default' => env('LOG_CHANNEL', 'stack'),
Publish the configuration file:
php artisan vendor:publish --provider="Rocketeers\Laravel\RocketeersLoggerServiceProvider" --tag="config"
This will create a config/rocketeers.php file with the following defaults:
<?php return [ 'api_token' => env('ROCKETEERS_API_TOKEN'), 'environments' => [ 'production', ], 'sensitive_fields' => [ 'password', 'password_confirmation', 'token', 'secret', 'credit_card', 'card_number', 'cvv', 'ssn', 'authorization', ], ];
Add the ROCKETEERS_API_TOKEN to your .env file.
Testing the integration
To verify that error reporting is wired up correctly, run:
php artisan rocketeers:test
This sends a test error to Rocketeers so you can confirm it arrives in your dashboard. The command checks that a ROCKETEERS_API_TOKEN is configured, warns when the current environment is not listed in rocketeers.environments (real errors would not be reported there), and reports the API error if sending fails.
Changelog
Please see CHANGELOG for more information what has changed recently.
For Laravel 10.x and up use v2.0.0.
For Laravel 9.x and below use v1.0.0 or the release/v1 branch.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email mark@vaneijk.co instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.