DirektiveDesDons/index.php
Johannes Kantz 63f7ef5eee add: Router
2022-12-08 14:43:05 +01:00

16 lines
267 B
PHP

<?php
require_once("Router/Router.php");
require_once("Router/Response.php");
use Router\Response;
use Router\Router;
$app = new Router("/DirektiveDesDons");
$app->get("/", function (array $req, Response $res) {
$res->send("Hello World");
});
$app->start();