PHPackages                             cetver/yii2-routes-collector - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. cetver/yii2-routes-collector

ActiveYii2-extension[Parsing &amp; Serialization](/categories/parsing)

cetver/yii2-routes-collector
============================

Routes collector for the Yii framework 2.0

1.0.2(6y ago)5157[1 PRs](https://github.com/cetver/yii2-routes-collector/pulls)BSD-3-ClausePHPPHP &gt;=5.6.0

Since Jul 10Pushed 5y ago2 watchersCompare

[ Source](https://github.com/cetver/yii2-routes-collector)[ Packagist](https://packagist.org/packages/cetver/yii2-routes-collector)[ RSS](/packages/cetver-yii2-routes-collector/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (5)Used By (0)

Routes collector
================

[](#routes-collector)

[![Build Status](https://camo.githubusercontent.com/f1a52fe7e2f99d47585d5f6f3b9368ef4f4e4f0512bfbb2fcfc64a25b1520ced/68747470733a2f2f7472617669732d63692e6f72672f6365747665722f796969322d726f757465732d636f6c6c6563746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cetver/yii2-routes-collector)[![Coverage Status](https://camo.githubusercontent.com/f0831781f2b9d021712d04009fc4c39609e71cfd1bcdc6e6d7395a8bfb829a50/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6365747665722f796969322d726f757465732d636f6c6c6563746f722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/cetver/yii2-routes-collector?branch=master)

Provides tools for collecting, saving and manipulating routes of web applications.

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

[](#installation)

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

Either run

```
composer require --prefer-dist cetver/yii2-routes-collector

```

or add

```
"cetver/yii2-routes-collector": "^1.0"

```

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

Configuring
-----------

[](#configuring)

Run the migration command

```
./yii migrate --migrationPath=@cetver/RoutesCollector/migrations

```

Update the console application configuration file

```
'controllerMap' => [
    'routes' => 'cetver\RoutesCollector\commands\RoutesController',
],
```

Usage
-----

[](#usage)

Create [web-applications configuration file](tests/_data/config/command-routes-collect/config.php) in the following format:

```
