aniketpant / router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

router Build Status

Installation

Add this to your composer.json and run composer install.

  "require": {
    "collectivism/router" : "dev-master"
  }

Usage

use \Collectivism\Router;

Route::get('/foo/bar', __DIR__ . '/foo/bar.php');
Route::post('/foo/bar', __DIR__ . '/foo/bar.php');

Route::get('/foo/baz', __DIR__ . '/foo/baz.php');

Router::start();
ezoic increase your site revenue

About

License:MIT License


Languages

Language:PHP 100.0%