jowy/veloce

slim framework backed by rocket booster

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 5

Forks: 0

Type:microframework

v0.1 2015-10-30 21:54 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:01:38 UTC


README

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