leafsphp/leaf
🍁 Go from idea to launch with clean and elegant PHP that grows with you. The framework for makers observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- Longevity 100
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: 16
- age_days: 2517
- days_rel: 18
- days_push: 13
- n_releases_24m: 18
Adoption not part of the score
1310 stars · 70 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Leaf is a lightweight, modular PHP framework focused on developer experience, rapid development, and high performance for web apps and APIs. It offers a minimal core with optional installable modules (auth, database, queues, mail) and AI-readable project context introduced in Leaf 5.
Use cases
- build a rest api in php quickly
- lightweight php micro-framework for small web apps
- rapidly prototype a php backend without heavy framework bloat
- add auth and database to a php app incrementally
- serve endpoints with minimal setup
- use a php framework that works well with ai coding assistants
- build an mvc php application with modular packages
When to choose
- you want a slim, fast PHP framework with a shallow learning curve
- you prefer modular architecture where you install only what you need
- you're building APIs or small-to-medium web apps rapidly
- you want AI tools to understand your project structure and conventions
- you need compatibility with plain PHP packages and existing projects
When to avoid
- you need a batteries-included enterprise framework with a huge ecosystem like Laravel or Symfony
- your team relies on framework-specific tooling and conventions from larger ecosystems
- you require extensive built-in features out of the box without installing modules
Facets
framework · maturity active
web-framework api-framework routing middleware auth templating web-development backend apis php cli micro-framework mvc rest-api ai-native modular developer-experience web-server
8 sources
- readme: https://github.com/leafsphp/leaf · fetched 2026-08-28 · be37b34c7217
- homepage: https://leafphp.dev · fetched 2026-08-29 · 57b7fe81daed
- site_page: https://leafphp.dev/docs · fetched 2026-08-29 · 8b30997661ee
- site_page: https://leafphp.dev/docs/modules · fetched 2026-08-29 · 74016c2eb14e
- site_page: https://leafphp.dev/docs/frontend · fetched 2026-08-29 · 1d04a6671462
- site_page: https://leafphp.dev/docs/ai · fetched 2026-08-29 · 95754706e7b7
- site_page: https://leafphp.dev/community/faq · fetched 2026-08-29 · 15e6305db689
- site_page: https://blog.leafphp.dev/posts/alchemy-earned-its-keep.html · fetched 2026-08-29 · ac0ff2cf7dd2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| leafsphp/leaf | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem