I open-sourced a feather-light, cloud-native PHP framework called MonkeysLegion. It’s fast, it’s transparent, and it needs your ideas. Repo: https://github.com/MonkeysCloud/MonkeysLegion-Skeleton — Docs & demos: https://monkeyslegion.com/
The Night I Reached PHP Fatigue
It was 2 a.m., a single test was still red, and my container’s memory footprint had ballooned past 500 MB—all for “Hello World” plus two middleware layers.
I asked myself:
What if a PHP framework felt as light as a micro-library yet scaled like an enterprise platform?
So I started stripping things down: no hidden magic, a trie-based router, compile-time DI, PSR everywhere. By sunrise the prototype was routing 100 K req/s and booting in 38 ms. I called it MonkeysLegion—a nod to strength in numbers.
The Three Promises
- Zero-Friction DX – Clean error messages, sane defaults, and a make dev command that “just works.”
- Cloud-Native DNA – Docker images, K8s manifests, and a serverless adaptor baked in.
- Composable Freedom – Swap any layer—ORM, templating, auth—without rewriting your app.
What Exists Today
- ⚡ Router — 4× faster than Laravel Sail in identical containers
- 🎛️ DI Container — reflection-free hydration, scoped lifecycles
- 🚌 Event Bus + PSR-15 pipeline — one-liner configs for auth, caching, tracing
- 🔧 CLI & Dev-Server — hot reload, error overlay, migration commands
- 🧪 100 % unit-covered core — with CI on PHP 8.3
Why I’m Writing This
Open source isn’t a solo sport. I need:
- Code reviewers to keep quality high
- Doc writers to turn rough notes into killer tutorials
- Designers for the website’s blank corners
- Early adopters to file bugs, share successes, and push the roadmap
How to Jump In
- ⭐ Star & Fork the repo → https://github.com/MonkeysCloud/MonkeysLegion-Skeleton
- Slack monkeyslegion.slack.com hi
- Grab a help-wanted issue or open an RFC
- Tell a friend or tweet your first impressions—feedback fuels momentum
Let’s prove PHP can be lightweight, joyful, and production-ready—all at once. Welcome to the Legion.
Top comments (1)
I don't fully understand what you're doing, but it sounds impressive to me. Writing your own framework, optimizing everything, and so on seem to be quite advanced topics.