jowy / veloce
slim framework backed by rocket booster
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 0
Type:microframework
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: 2024-11-09 18:43:35 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