atijust/fastra

A micro-framework for PHP 5.5+

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/atijust/fastra

dev-master 2015-09-20 17:15 UTC

This package is not auto-updated.

Last update: 2025-10-26 00:45:31 UTC


README

Build Status Scrutinizer Code Quality Code Coverage License

A micro-framework for PHP5.5+.

<?php
require_once __DIR__ . '/vendor/autoload.php';

$app = new Fastra\Application();
$app->group(function ($router) {
    $router->get('/{name}', function ($name) {
        return 'Hello, ' . $name;
    });
})->prefix('/hello')->middleware(AuthMiddleware::class);
$app->run();