PHPackages                             iwai/phalcon-router-adapter-config - 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. [Framework](/categories/framework)
4. /
5. iwai/phalcon-router-adapter-config

ActiveLibrary[Framework](/categories/framework)

iwai/phalcon-router-adapter-config
==================================

1.0.0(11y ago)122MITPHPPHP &gt;=5.3.6

Since Mar 18Pushed 11y ago1 watchersCompare

[ Source](https://github.com/iwai/phalcon-router-adapter-config)[ Packagist](https://packagist.org/packages/iwai/phalcon-router-adapter-config)[ Docs](https://github.com/iwai/phalcon-router-adapter-config)[ RSS](/packages/iwai-phalcon-router-adapter-config/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Phalcon\\Mvc\\Router\\Config
============================

[](#phalconmvcrouterconfig)

Provides the ability to perform the Routing from configuration

Install
-------

[](#install)

```
{
    "require": {
        "iwai/phalcon-mvc-router-config": "*"
    }
}
```

Recommended
-----------

[](#recommended)

Recommended the use of Phalcon\\Config\\Adapter\\Yaml in incubator, of course, it is possible even otherwise.

### Example configuration of yaml file.

[](#example-configuration-of-yaml-file)

```
# Example:
# user_view:
#   method:     [ GET, POST ]
#   url:        /user/view/{user_id}
#   controller: user
#   action:     view
#   namespace:  \App\FrontendController

# Route for UserController::indexAction mapped url for /user
user_index:
  method: GET
  url:        /user
  controller: user
  action:     index
# Same as in the example above, can be omitted `index` and `url`,`controller`,`action`
user:
  method: GET

# Route for UserController::viewAction mapped url for /user/view
user_view:
  method: GET

# Route for ShopController::viewAction, mapped url for /shop/view/1234
# can be define names to route parameters
# see: http://docs.phalconphp.com/en/latest/reference/routing.html#parameters-with-names
shop_view:
  method: GET
  url:    /shop/view/{shop_id}

shop_create:
  method: [ GET, POST ]
  url:    /shop/create
```

```
$di['router'] = function() {
    // Use the config router
    $router = new \Phalcon\Mvc\Router\Config();
    $router->build(
        new Phalcon\Config\Adapter\Yaml('path/route.yml')
    );
    return $router;
};
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4127d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/84846?v=4)[Yuji Iwai](/maintainers/iwai)[@iwai](https://github.com/iwai)

---

Top Contributors

[![iwai](https://avatars.githubusercontent.com/u/84846?v=4)](https://github.com/iwai "iwai (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/iwai-phalcon-router-adapter-config/health.svg)

```
[![Health](https://phpackages.com/badges/iwai-phalcon-router-adapter-config/health.svg)](https://phpackages.com/packages/iwai-phalcon-router-adapter-config)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M297](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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