piotrplenik/clean-code-php ? reverse-engineered prompt

Reverse engineered prompt

Build me a clean documentation site or README style page for “Clean Code PHP” that teaches good PHP habits in a simple, easy to browse way.

I want it to read like a practical guide, with clear sections for variables, comparisons, functions, objects, classes, SOLID, and DRY, and each section should include short bad and good PHP examples. Make it feel polished and readable, with a table of contents, smooth anchors, and a layout that works well for long form documentation.

Keep the tone friendly and instructional, not formal or academic. If you need current docs or best practices for modern PHP, look them up online. Please make the examples easy to understand, and structure the page so someone can quickly skim it or read it from top to bottom without getting lost.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab