2017 © Pedro Peláez
 

library phalcon-router-for-yaml

Phalcon Routering for Yaml

image

ienaga/phalcon-router-for-yaml

Phalcon Routering for Yaml

  • Tuesday, August 15, 2017
  • by ienaga
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5,202 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Phalcon Router for Yaml

Build Status, (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Version

PHP: 7.0.x, 7.1.x, 7.2.x
Phalcon: 3.x

Composer

{
    "require": {
       "ienaga/phalcon-router-for-yaml": "2.*"
    }
}

routing.yml sample

min

mypage_index: # /mypage/index

max

mypage_index:
  module:     frontend # Default null
  method:     [ GET, POST ] # Default GET
  url:        /mypage/{user_id}
  controller: mypage
  action:     index
  namespace:  \ProjectName\Module

app/config/services.php

$di->set("router", function () {
    return \Phalcon\Mvc\Router\Adapter\Yaml::load(
        new \Phalcon\Config\Adapter\Yaml(APP_PATH ."/directory/routing.yml")
    );
}, true);

The Versions

15/08 2017

dev-master

9999999-dev https://github.com/ienaga/PhalconRouter

Phalcon Routering for Yaml

  Sources   Download

MIT

The Development Requires

by Toshiyuki Ienaga

yaml router phalcon

15/08 2017

1.0.0

1.0.0.0 https://github.com/ienaga/PhalconRouter

Phalcon Routering for Yaml

  Sources   Download

MIT

The Development Requires

by Toshiyuki Ienaga

yaml router phalcon