Luracast/Restler
Zero-boilerplate REST API framework for PHP 8+. Auto-generates routes, docs, validation. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 3.5
- age_days: 5626
- days_rel: 12
- days_push: 12
- n_releases_24m: 7
Adoption not part of the score
1382 stars · 315 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Restler is a zero-boilerplate REST API framework for PHP 8+ that uses reflection to auto-generate routes, validation, and OpenAPI documentation from plain PHP classes. It supports multiple response formats (JSON, XML, CSV, HTML) and async runtimes like Swoole, OpenSwoole, and ReactPHP.
Use cases
- build a REST API in PHP without writing controllers or route files
- auto-generate OpenAPI/Swagger documentation from PHP classes
- expose existing PHP class methods as REST endpoints
- serve JSON, XML, CSV, and Excel responses from one API
- run a high-throughput PHP API on Swoole or ReactPHP
- validate request parameters automatically from type hints
When to choose
- you want minimal-boilerplate REST APIs in plain PHP classes
- you need OpenAPI docs generated automatically from your code
- you want multi-format content negotiation (JSON, XML, CSV, HTML)
- you need async PHP performance via Swoole or ReactPHP
When to avoid
- you need a full-stack framework with ORM, templating, and queues like Laravel or Symfony
- your team prefers explicit route/controller definitions over reflection-based magic
- you need a license-guaranteed project (no license file is present)
Facets
framework · maturity active
api-framework web-framework routing serialization middleware documentation web-development backend apis developer-tools php serverless rest-api openapi swagger zero-boilerplate swoole reactphp content-negotiation auto-validation psr-7 web-server docker
2 sources
- readme: https://github.com/Luracast/Restler · fetched 2026-08-28 · 570e774b2f29
- homepage: http://luracast.com/products/restler/ · fetched 2026-08-29 · f6d13b4cae83
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Luracast/Restler | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="Luracast/Restler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem