mirror of
https://github.com/notrab/dumbo.git
synced 2025-01-17 22:28:25 +01:00
14 lines
205 B
PHP
14 lines
205 B
PHP
<?php
|
|
|
|
require "vendor/autoload.php";
|
|
|
|
use Dumbo\Dumbo;
|
|
|
|
$app = new Dumbo();
|
|
|
|
$app->get("/", function ($context) {
|
|
return $context->text("This is a plain text response from Dumbo.");
|
|
});
|
|
|
|
$app->run();
|