2017 © Pedro Peláez
 

library router

PHP-friendly route system

image

rduuke/router

PHP-friendly route system

  • Thursday, December 15, 2016
  • by RDuuke
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 25 % Grown

The README.md

RDuuke\Router

Installation

It's recommended that you use Composer to install., (*1)

$ composer require rduuke/router

Rduuke/Router requires PHP 5.5.0 or newer., (*2)

Usage

Create an index.php file with the following contents:, (*3)

<?php

require 'vendor/autoload.php';

$app = new RDuuke\Router\Router();

$app->get('/', function (){
   echo "Welcome RDuuke\\Router";
});

$app->run();

You may quickly test this using the built-in PHP server:, (*4)

$ php -S localhost:8080

Going to http://localhost:8080/ will now display "Welcome RDuuke\Router"., (*5)

Tests

To execute the test suite, you'll need phpunit., (*6)

$ phpunit

The Versions

15/12 2016

dev-master

9999999-dev https://github.com/RDuuke/Router

PHP-friendly route system

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Avatar RDuuke

api router restfull librarie

15/12 2016

v1.0.1

1.0.1.0 https://github.com/RDuuke/Router

PHP-friendly route system

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Avatar RDuuke

api router restfull librarie

07/12 2016

v1.0

1.0.0.0

PHP-friendly route system

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Avatar RDuuke