tedydonel/heisenberg ? reverse-engineered prompt
Reverse engineered prompt
Build me a Laravel package that acts like a Gutenberg style content engine for a bilingual blog backend.
I want posts to be stored as ordered blocks, each block checked against a JSON contract, then rendered into safe HTML by a hardened renderer. It should be a clean standalone Composer package with no tight coupling to the host app, and it should support the core blog pieces too, like posts, taxonomy, comments, revisions, patterns, publishing, permissions, and basic SEO support. Make sure the design includes the small set of host contracts for things like media handling, role checks, audit logging, icons, and the current user, so the package stays flexible.
Please follow a clean Laravel friendly structure, add the migrations, models, services, routes, and tests needed to get the core flow working, and wire up the package so it can be installed and tested with Laravel 11 or 12. If anything is unclear, look up current Laravel docs online and keep the implementation secure and practical.