Download the PHP package marothyzsolt/laravel-new-relic without Composer
On this page you can find all versions of the php package marothyzsolt/laravel-new-relic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marothyzsolt/laravel-new-relic
More information about marothyzsolt/laravel-new-relic
Files in marothyzsolt/laravel-new-relic
Package laravel-new-relic
Short Description Laravel Log Handler for New Relic
License MIT
Homepage https://github.com/marothyzsolt/laravel-new-relic
Informations about the package laravel-new-relic
Laravel New Relic Logger
Installation
You can install the package via composer:
Usage
Change config/logging.php
file with the following code:
You have to specify these the environment variables:
Custom Extra Data
You can add more data to send to New Relic. Firstly publish the config file.
Now you see the config file structure, and you can extend the Closure
.
Detailed Exception Logging (Optional)
If you want to log exceptions with stacktrace as well, you can use the following. Extends the app/Exceptions/Handler.php
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Zsolt Marothy
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-new-relic with dependencies
illuminate/support Version ^8.0|^9.0
newrelic/monolog-enricher Version ^2.0