Download the PHP package mir-insight/cakephp-newrelic without Composer
On this page you can find all versions of the php package mir-insight/cakephp-newrelic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mir-insight/cakephp-newrelic
More information about mir-insight/cakephp-newrelic
Files in mir-insight/cakephp-newrelic
Package cakephp-newrelic
Short Description CakePHP 5 NewRelic Integration
License MIT
Homepage https://github.com/mir-insight/cakephp-newrelic
Informations about the package cakephp-newrelic
CakePHP NewRelic Plugin
A CakePHP 5 plugin for NewRelic integration that provides automatic transaction tracking, error reporting, and custom metrics.
Requirements
- PHP 8.1 or higher
- CakePHP 5.0 or higher
- NewRelic PHP extension
Installation
You can install this plugin into your CakePHP application using composer.
Configuration
-
Load the plugin in your
config/bootstrap.php
: - Configure the plugin in your
config/app.php
or create a new fileconfig/newrelic.php
:
Usage
The plugin automatically integrates with your CakePHP application and provides the following features:
- Automatic transaction tracking for all HTTP requests
- Exception tracking
- Custom parameter and metric tracking
- Custom tracer methods
Using the NewRelic Service
You can access the NewRelic service in your controllers, components, or other services:
Custom Tracers
You can add custom tracer methods in your configuration:
Features
- Automatic transaction tracking
- Exception tracking
- Custom parameter tracking
- Custom metric tracking
- Custom tracer methods
- Middleware integration
- Service container integration
- Configuration options
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
The MIT License (MIT). Please see License File for more information.