krakphp / lava

Micro framework with massive potential
1 stars 0 forks source link
full-stack lava micro-framework modular

Lava

Micro-framework with massive potential.

Installation

Install with composer at krak/lava

Usage

<?php

use Krak\Lava;

$app = new Lava\App();
$app->routes(function($r) {
    $r->get('/hello/{name}', function($name) {
        return "Hello $name!";
    });
});

$app->serve();