Falt Leap Framework

20
Files
~3,200
Lines
0
Dependencies

Zero Dependencies

No Composer. No vendor folder. No supply-chain anxiety. Every line of code is yours to read, understand, and trust.

PostgreSQL-First

Built exclusively for PostgreSQL. Schema introspection, Active Record ORM, and auto-generated models straight from your database.

Modern PHP 8+

Strict types, named arguments, match expressions — clean, modern PHP without legacy baggage or abstraction soup.

See how simple it is

Routes map to controllers. Controllers talk to models. That's it.

// conf/router.config.php
$routes = [
    "/users"          => ["UsersController@index", "auth"],
    "/users/edit/{id}" => [
        "GET"  => ["UsersController@edit",   "auth"],
        "POST" => ["UsersController@update", "auth"],
    ],
];

// app/UsersController.php
class UsersController extends LeapController
{
    public function edit($id)
    {
        $user = Users::Query()->where("id = :id", [":id" => $id])->first();
        $this->view->data = $user;
        $this->view->render('users/edit');
    }
}