A minimal PHP microframework for handling HTTP routing in a straightforward, procedural approach, similar to a C program.
KITA's key features are:
- Lightweight, fast, and minimalistic
- Simplified control flow with minimal abstraction
- Extremely flexible and unopinionated
- Protected against endpoint enumeration tools
- Easy to install and set up (just a single file)
<?php
require_once 'kita.php';
function main(): void
{
get('/', 'home');
}
function home(): void
{
echo "Hello, World!";
}