Lemon
Lemon is php micro framework built for simple applications.
Latest version: 2.1.1
Documentation: https://tenmajkl.github.io/docs.html
Installation
Installation is provided via composer:
composer create-project lemon_framework/lemon:dev-master project-name
If you want to build starting app type php lemonade build type:project
Minimal app
Here is code of simple app build only in index.php
require "/lemon/framework.php";
Route::get("/relative//", function($var)
{
echo $var;
});
Route::any("/", function()
{
echo "hi";
});
Route::handler(404, function()
{
echo "404";
});
Route::execute();
?>