yidemir/mikro — reverse-engineered prompt

Reverse engineered prompt

Build me a small PHP toolkit that feels like a micro framework, but really stays simple and lightweight. I want it to cover the basics people actually need, like easy routing with route groups, middleware, resource style routes, static file serving, and a custom 404 handler. It should also have request and response helpers so I can return html, json, and rendered views, plus a basic view system with layouts, blocks, and template style output.

Please include a lightweight PDO based database helper for simple queries and CRUD, along with small utilities for config, cache, a service container, events, validation, logging, localization, JWT auth, OpenSSL based string encrypt and decrypt, console callbacks, and some string and array helpers. Keep the API clean and minimal, more practical than fancy.

The README says this project is still in development and the general docs are not finished yet, so keep the implementation straightforward, consistent, and well tested. Look up current PHP docs online if you need to.

Want more depth? Deep Reverse