yiisoft/yii2 ? reverse-engineered prompt

Reverse engineered prompt

Build me a modern PHP framework called Yii 2 that feels fast, secure, and easy to use right away.

I want the core framework code, documentation, and tests set up so someone can install it with Composer and start building a web app without much setup. Please make it work well on PHP 7.4 and newer, especially PHP 8, and include sensible defaults that are still flexible enough to customize for real projects.

Set it up like a professional open source framework, with a clear project structure, good automated tests, static checks, and clean docs that explain installation, basic usage, and how to contribute. If you need to look up current best practices or official docs online while doing it, go ahead. Also make sure the codebase is organized for future maintenance and security, since this is meant to be a solid foundation for production PHP apps.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab