Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
composer.json
composer.lock
index.php
league.php
middlewares.php
northwoods.php
sunrise.php

README.md

PSR15 リクエストハンドラー サンプル集

Requirements

  • PHP >= 7.2
  • composer

install

$ composer install

run

以下のいずれかの方法で起動して、ブラウザから http://localhost:8080/ へアクセスする。

league/route

$ php -S localhost:8080 league.php

northwoods/router

$ php -S localhost:8080 northwoods.php

sunrise/http-router

$ php -S localhost:8080 sunrise.php

middlewares/request-handler

$ php -S localhost:8080 middlewares.php
You can’t perform that action at this time.