Download the PHP package laranex/laravel-newrelic without Composer
On this page you can find all versions of the php package laranex/laravel-newrelic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laranex/laravel-newrelic
More information about laranex/laravel-newrelic
Files in laranex/laravel-newrelic
Package laravel-newrelic
Short Description A Laravel package to integrate New Relic APM with Laravel
License Apache-2.0
Homepage https://github.com/laranex/laravel-newrelic
Informations about the package laravel-newrelic
Laravel New Relic
Laravel New Relic is a package that provides a custom log channel for New Relic. It also includes listeners to split Octane transactions into individual job and event transactions.
Why we use Laravel Newrelic Instead of New Relic Monolog Enricher?
The New Relic Monolog Enricher is not compatible with Monolog 3.0, and it has not been updated to address this issue. To overcome this limitation, I created this package to provide a custom log channel specifically designed for New Relic.
Installation
Before installing the Laravel New Relic package, make sure you have the New Relic PHP agent installed on your server.
To install the Laravel New Relic package, follow these steps:
-
Install the package via Composer:
-
Change the log channel in your
.env
file: -
(Optional) Configure your New Relic application name and license key in your
.env
file:These values will be automatically picked up by the package.
Changelog
For detailed information on recent changes, please see the CHANGELOG.
Contributing
We welcome contributions! Please see the CONTRIBUTING guide for more details.
Security
If you discover any security issues, please report them in accordance with our security policy outlined in the CONTRIBUTING guide.
Credits
Contributors
Versions
Version | Release Date |
---|---|
1.0.0 | 2024-08-31 |
1.0.0
- Initial release
License
This project is primarily licensed under the Apache License, Version 2.0. For more details, please refer to the License File.
Please note that this package includes components based on the New Relic Monolog Enricher, which are subject to the New Relic License. All original code contributed to this package, excluding the New Relic Monolog Enricher components, is also made available under the MIT License.
Users are free to use, modify, and distribute the original code under either the Apache License 2.0 or the MIT License, depending on their preference, with the exception of the New Relic Monolog Enricher components, which must be used in accordance with the New Relic License.