PHPackages                             djiney/yii2-routes-logger - 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. djiney/yii2-routes-logger

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

djiney/yii2-routes-logger
=========================

Yii Framework 2.0 Component routes logger

01.1kPHP

Since Dec 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/djiney/yii2-routes-logger)[ Packagist](https://packagist.org/packages/djiney/yii2-routes-logger)[ RSS](/packages/djiney-yii2-routes-logger/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Routes Logger
==================

[](#yii2-routes-logger)

Simple Yii2 extension to log all requested routes.

Installing
----------

[](#installing)

Composer installation

```
composer require djiney/yii2-routes-logger dev-master

```

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

[](#configuration)

### Migration

[](#migration)

Just run base Yii2 migration with custom path

```
php yii migrate/up --migrationPath=@vendor/djiney/yii2-routes-logger/src/migrations/

```

### Bootstrap

[](#bootstrap)

Add a configuration array to the bootstrap part of your application:

```
'bootstrap' => [
   ...
   [
      'class'  => 'djiney\routes\components\RoutesLogger',
      'filter' => 'djiney\routes\components\RoutesLoggerFilter'
   ],
   ...
],

```

If you use a "Yii2 Advanced Application", you can specify different settings to frontend and backend.

Filter is not necessary, but if you don't need too many logs - feel free to use the default one (which allows you to get rid of guest's routes logs), or just create your own.

The filter should implement RoutesLoggerFilterInterface.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8615edc16943839a65e1778bcc1a7eea33b980af35dc4126af01aae025281d6d?d=identicon)[MikhailGorchakov](/maintainers/MikhailGorchakov)

### Embed Badge

![Health badge](/badges/djiney-yii2-routes-logger/health.svg)

```
[![Health](https://phpackages.com/badges/djiney-yii2-routes-logger/health.svg)](https://phpackages.com/packages/djiney-yii2-routes-logger)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
