PHPackages                             macfly/yii2-pinpoint-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. macfly/yii2-pinpoint-plugin

ActiveYii2-extension

macfly/yii2-pinpoint-plugin
===========================

Pinpoint plugin to instrument Yii2 framework

0.3.1(3y ago)011.7k2BSD-3-ClausePHP

Since Nov 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/marty-macfly/yii2-pinpoint-plugin)[ Packagist](https://packagist.org/packages/macfly/yii2-pinpoint-plugin)[ RSS](/packages/macfly-yii2-pinpoint-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (2)Versions (11)Used By (0)

Pinpoint Yii2 framework plugin
==============================

[](#pinpoint-yii2-framework-plugin)

[Pinpoint](https://pinpoint-apm.github.io/pinpoint/index.html) is an APM (Application Performance Management) tool for large-scale distributed systems written in Java / PHP. Inspired by Dapper, Pinpoint provides a solution to help analyze the overall structure of the system and how components within them are interconnected by tracing transactions across distributed applications.

[Pinpoint](https://pinpoint-apm.github.io/pinpoint/index.html) support Java, PHP and Python application introspection.

For PHP you need to install the [pinpoint-c-agent](https://github.com/pinpoint-apm/pinpoint-c-agent) and add plugin to instrument your application for [pinpoint-php-aop](https://github.com/pinpoint-apm/pinpoint-php-aop) to work.

This extension is providing an easy way to integrate [Pinpoint](https://pinpoint-apm.github.io/pinpoint/index.html) with your PHP application based on the [Yii2](https://www.yiiframework.com) framework.

To use that extension you need to do the following:

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require --prefer-dist macfly/yii2-pinpoint-plugin

```

or add

```
"macfly/yii2-pinpoint-plugin": "dev-main"
```

to the `require` section of your composer.json.

Configuration
-------------

[](#configuration)

Update `web/index.php` in your Yii2 application to add `require_once __DIR__. '/../vendor/macfly/yii2-pinpoint-plugin/src/yii.php';`.

```
