<?php
require 'path/to/vendor/autoload.php';
use BearFramework\App;
// Create the application object that will handle the request
$app = new App();
// Register a function that returns the response
$app->routes->add('/', function() {
return new App\Response('Hi');
});
// Sends the appropriate response to the client
$app->run();