Hello World
Instantiating a Yee application is simple:
$app = new \Yee\Yee();
Define a HTTP GET route:
$app->get('/hello/:name', function ($name) {
echo "Hello, $name";
});
Run the Yee application:
$app->execute();
Instantiating a Yee application is simple:
$app = new \Yee\Yee();
Define a HTTP GET route:
$app->get('/hello/:name', function ($name) {
echo "Hello, $name";
});
Run the Yee application:
$app->execute();