nimmneun/nono

The no nonsense php micro framework

Maintainers

Details

github.com/nimmneun/nono

Source

Issues

Installs: 1 397

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/nimmneun/nono

0.0.9 2022-02-21 16:23 UTC

This package is auto-updated.

Last update: 2025-09-26 14:42:53 UTC


README

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
$app->respond();