Veloce is combination between slim microframework and swoole http server. Inspired by espresso
composer require jowy/veloce
<?php
require 'vendor/autoload.php';
$app = new Slim\App();
$app->get('/hello/{name}', function ($request, $response, $args) {
$response->write("Hello, " . $args['name']);
return $response;
});
$stack = new \Veloce\Stack($app);
$stack->listen(8000);
You have to install development dependencies in order to run test.
php vendor/bin/codecept run
MIT, see LICENSE