u/mychidarko

Leaf 5 released: a PHP framework built for humans and AI agents
▲ 0 r/PHP

Leaf 5 released: a PHP framework built for humans and AI agents

We just released Leaf 5, the biggest release in the framework's history. It rethinks what a PHP framework looks like when half your team is an AI assistant: error screens that explain their own fix, docs structured to burn fewer tokens, and a .leaf/CONTEXT.md file that gives agents persistent project memory. Around 30 modules shipped stable alongside it, plus framework-agnostic tools like Alchemy (full QA setup in one YAML file) that work in any PHP app.

Announcement: https://blog.leafphp.dev/posts/leaf-5

Love, Michael Darko Creator of Leaf (leafphp.dev)

Edit: Thanks for all the love, and the AI callouts 😂 We had a pretty good launch yesterday and we’re back to building.

Under all the paint, Leaf is just PHP, think a Lite version of Laravel with batteries separate but still first-party. We’ve got a whole lot more to publish for both Leaf and the PHP community and we’ll be back

u/mychidarko — 3 days ago