rocketeers-app / rocketeers-laravel
Rocketeers integration for Laravel
Installs: 38 933
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^7.0|^8.0
- illuminate/support: ^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- monolog/monolog: ^3.0
- rocketeers-app/rocketeers-api-client: dev-master
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-26 16:07:47 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'),
Add the Rocketeers config file to your Laravel app:
<?php return [ 'rocketeers.api_token' => env('ROCKETEERS_API_TOKEN'), ];
And at last, add the ROCKETEERS_API_TOKEN
in your .env
file.
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.