phpEZ
A tiny, single-file PHP framework for building REST APIs on cheap shared hosting, without Composer, build steps, or thousands of framework files.
🔗 Visit phpEZDescription
Most PHP web frameworks — think Laravel or Symfony — come with thousands of files, a Composer-managed dependency tree, and a fair amount of setup before you can write your first line of business logic. phpEZ takes the opposite approach: it's a single file you drop into your project, aimed squarely at developers stuck on old-school shared LAMP hosting (the kind where you can't install Composer packages or run build tools) who still want the conveniences of a real framework — routing, a database layer, automatic JSON output — without the overhead.
Technically, phpEZ leans heavily on PHP's reflection API to remove boilerplate: your routes are plain closures with typed parameters, and the framework automatically injects and serializes objects to and from JSON without you writing mappers or validators by hand. Database models are plain PHP classes annotated with attributes (like #[Unique]), and phpEZ handles CRUD operations and schema mapping automatically, with no separate migration files. It also includes lazy-initialized, namespaced sessions and a unified exception-to-JSON error-handling system. The whole framework fits in a handful of files, requires PHP 8.4 and no non-default extensions, and needs no Composer or build pipeline — you can effectively drop it onto a shared host and start building a REST API immediately.
💬 Our review
The short version: phpEZ is a genuinely minimal PHP framework that does what it says — REST APIs with routing, ORM, and JSON serialization in one file — and it's a reasonable pick specifically for developers stuck on old shared LAMP hosting where Composer and build tools aren't an option.
Compared to Laravel or Symfony, phpEZ trades away a huge ecosystem (packages, middleware, queues, a large community, extensive documentation) for radical simplicity and zero setup friction; that's a fair trade if you're building a small API on a cheap shared host, but a poor one if you're building anything expected to grow into a larger application, since you'll eventually want the tooling those bigger frameworks provide. Compared to lighter frameworks like Slim, phpEZ is even more minimal — it skips Composer entirely — but it's also far newer and far less battle-tested: the GitHub repo has essentially no community traction yet (a single star at the time of writing), so there's real risk around long-term maintenance, security patching, and documentation depth. It also requires PHP 8.4, a fairly recent version many shared hosts don't yet offer, which somewhat undercuts its own pitch. Worth trying for a small hobby API on constrained hosting; not something to bet a production business on yet.
💰 Pricing
📊 Global score
🤖 AI-enriched data
Free and open source (MIT license). No paid tier.
Pros
Single-file framework — no Composer, no build step, no extra PHP extensions
Reflection-based automatic JSON serialization removes boilerplate
Attribute-based ORM with automatic CRUD, no migrations needed
Free and open source under MIT
Purpose-built for constrained shared LAMP hosting
Cons
Very small, early-stage project (essentially no GitHub community yet)
Requires PHP 8.4, which many shared hosts don't offer yet
Lacks the ecosystem, middleware, and packages of Laravel/Symfony
Limited documentation beyond auto-generated API docs
