jowy / veloce
slim framework backed by rocket booster
v0.1
2015-10-30 21:54 UTC
Requires
- ext-swoole: ^1.7.18
- slim/slim: ^3.0@RC
Requires (Dev)
- codeception/codeception: ^2.1
- codeception/mockery-module: ^0.2.2
This package is not auto-updated.
Last update: 2026-03-01 02:02:07 UTC
README
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