FrankenPHP worker mode
The kernel boots once and serves thousands of requests per process, with no cold start on each one.
HexaGen PHP keeps each feature's controller, model, routes and services in one folder, runs them in a persistent FrankenPHP worker, and ships an ORM that behaves the same on PostgreSQL, MySQL and SQLite.
public function index(Request $request): Response { $flights = Flight::query() ->whereLike('origin', $request->query->get('q') . '%') ->with(['airline']) ->orderBy('price') ->paginate(20); return $this->json($flights->toArray()); } // Same rows on PostgreSQL, MySQL and SQLite.
composer create-project rbaezc/hexagen-app my-appphp hexaphp make:slice Flightsphp hexaphp server:start