PHPackages                             x-mlex/yii2-graylog2 - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. x-mlex/yii2-graylog2

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

x-mlex/yii2-graylog2
====================

Graylog2 log target for Yii2

012.8k↓42.3%PHP

Since Sep 11Pushed 1y agoCompare

[ Source](https://github.com/xMlex/yii2-graylog2)[ Packagist](https://packagist.org/packages/x-mlex/yii2-graylog2)[ RSS](/packages/x-mlex-yii2-graylog2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Graylog2 log target for Yii2
============================

[](#graylog2-log-target-for-yii2)

Credits
-------

[](#credits)

Benjamin Zikarsky

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

[](#installation)

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

Either run

```
php composer.phar require "x-mlex/yii2-graylog2" "*"

```

or add

```
"x-mlex/yii2-graylog2" : "*"
```

to the `require` section of your application's `composer.json` file.

Usage
-----

[](#usage)

Add Graylog target to your log component config:

```
