/veloce

slim framework backed by rocket booster

Primary LanguagePHPMIT LicenseMIT

Veloce

Build Status

Veloce is combination between slim microframework and swoole http server. Inspired by espresso

Install

composer require jowy/veloce

Example

<?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);

Test

You have to install development dependencies in order to run test.

php vendor/bin/codecept run

License

MIT, see LICENSE