PHPackages                             chobo1210/yaml-route - 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. chobo1210/yaml-route

Abandoned → [guemidiborhane/yaml-routes](/?search=guemidiborhane%2Fyaml-routes)Cakephp-plugin[Framework](/categories/framework)

chobo1210/yaml-route
====================

implements Routing using yaml file for CakePHP 3

164PHP

Since Mar 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/guemidiborhane/yaml-routes)[ Packagist](https://packagist.org/packages/chobo1210/yaml-route)[ RSS](/packages/chobo1210-yaml-route/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yaml Routing for **CakePHP 3**
==============================

[](#yaml-routing-for-cakephp-3)

implements Yaml Routing which allows you to write routes using yaml language instead of php

Requirements
------------

[](#requirements)

The 3.0 branch has the following requirements:

- CakePHP 3.0.0 or greater.

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

[](#installation)

- Install the plugin with composer from your CakePHP Project's ROOT directory (where composer.json file is located)

```
php composer.phar require chobo1210/yaml-route "dev-master"
```

OR

add this lines to your `composer.json`

```
"require": {
  "chobo1210/yaml-route": "dev-master"
}
```

And run `php composer.phar update`

then add this lines to your `config/bootstrap.php`

```
Plugin::load('YamlRoute', ['routes' => true]);
```

then create your routes file `config/routes.yml`

\##Example

```
Routes:
    scope: /
    index:
        path: /
        controller: Pages
        action: display
        arg: home
    pages:
        path: /pages/*
        controller: Pages
        action: display
    voyage:
        path: /blog/:slug-:id
        controller: Posts
        action: view
        args:
            _name: view_single_post
            pass:
                - id
                - slug
            id: '[0-9]+'
```

gives this

```
Router::scope('/', function($routes) {

	$routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']);

	$routes->connect('/pages/*', ['controller' => 'Pages', 'action' => 'display']);

	$routes->connect('/blog/:slug-:id',
	    ['controller' => 'Posts', 'action' => 'view'],
	    ['_name' => 'view_single_post', 'pass' => ['id', 'slug'], 'id' => '[0-9]+']);

	$routes->fallbacks();
});
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8a584376335f66918f1ed6f9956d4d34a3dff038bc95b581291c4e64b4a521c?d=identicon)[guemidiborhane](/maintainers/guemidiborhane)

---

Top Contributors

[![guemidiborhane](https://avatars.githubusercontent.com/u/4106935?v=4)](https://github.com/guemidiborhane "guemidiborhane (9 commits)")[![makallio85](https://avatars.githubusercontent.com/u/5479933?v=4)](https://github.com/makallio85 "makallio85 (1 commits)")

### Embed Badge

![Health badge](/badges/chobo1210-yaml-route/health.svg)

```
[![Health](https://phpackages.com/badges/chobo1210-yaml-route/health.svg)](https://phpackages.com/packages/chobo1210-yaml-route)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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