Minimal PHP 8.5 Starter Kit
A tiny, auditable foundation: modular monolith, per-module SQLite, attribute-based routing and strict security — built from scratch.
A tiny, auditable foundation: modular monolith, per-module SQLite, attribute-based routing and strict security — built from scratch.
No Composer runtime, no framework. A hand-rolled PSR-4 autoloader boots the app even without vendor/ — the whole production runtime is 5 PHP extensions.
C-pattern: no magic methods, no service locators, no generated maps. Every line is readable and auditable — no black box.
One database file per module — users.db, config.db, locales.db. No infrastructure, no ORM, no migration maze.
Language-level precompilation: OPcache keeps opcodes in memory, JIT compiles hot paths to native machine code.
SQLite is pure C — the fastest path to data with no ORM layer. PHP built-ins are precompiled C libraries.
We dropped the cache layer and hit 100/100 PageSpeed. Speed comes from removing layers, not from caching.
215 MB dev → 1.7 MB prod
~126:1 — the entire production runtime is smaller than one phone photo.