fifths/php-router

There is no license information available for the latest version (dev-master) of this package.

Maintainers

Package info

github.com/fifths/php-router

pkg:composer/fifths/php-router

Statistics

Installs: 16

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2017-06-21 14:37 UTC

This package is auto-updated.

Last update: 2026-02-15 07:23:38 UTC


README

nginx

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }
    use \Router\Router;
    Router::get('/', function () {
        echo 'Hello world!';
    });
    Router::dispatch();