tempestphp/tempest-framework — reverse-engineered prompt
Reverse engineered prompt
Build me a modern PHP framework inspired by Tempest. I want it to feel simple and almost invisible, so developers can focus on writing normal application code instead of lots of config.
It should support routing with PHP attributes on controller methods, like a GET route that loads a book and returns a response, and a POST route that accepts a request object, maps it to a model, saves it, then redirects. Include a small public entry point, basic response classes, dependency injection, and enough MVC structure to make a tiny demo app work.
Also add console commands with attributes, including a migration command that can run pending migrations and print nice status messages. Add a simple event system so code can react when a migration runs.
Please keep the setup clean, with sensible defaults, tests for the core pieces, and clear README instructions for installing and running it. Look up current PHP docs online if you need to.
Want more depth? Deep Reverse