THE Framework

Describe your tables once in JSON. THE generates the MySQL schema, a role-guarded REST API in PHP, Deno or Python, and typed Angular or SolidJS services with offline sync.

Get Started All projects
composer create-project puneetxp/the_template_php my-app
cd my-app && php setup.php

Open source, Apache-2.0 licensed. GitHub

Schema first

Describe each table once in JSON. The generator writes the SQL, models, controllers, routes and TypeScript interfaces.

Role-based REST

Grant c r u d a w p per role (isuper, islogin, ipublic or custom roles) and get guarded endpoints under /api/<role>/<model>.

Offline-ready frontends

Generated Angular and SolidJS services keep stores in IndexedDB and fetch only rows that changed (?latest=).