The no nonsense php micro framework

0.0.8 2019-03-25 16:06 UTC

This package is auto-updated.

Last update: 2020-09-22 22:06:38 UTC


Build Status Scrutinizer Code Quality Code Coverage

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

// instantiate new app
$app = new \Nono\Application();

// add route with controller::method action
$app->post('/profile', 'ProfileController::create');

// or using a closure as action
$app->get('/{name}?', function ($request, $name = 'World') {
    echo "Hello {$name}!";

// run app and generate output