php blocks in WordPress 7

How To Build PHP-Only Gutenberg Blocks In WordPress 7

PHP-only blocks are an ideal migration path for existing shortcodes. The render logic is often identical — the only difference is where the parameters come from.

As a very amateur and occasional dabbler in shortcodes & very simple plugins this looks interesting. It will need WordPress 7 and php 8.1. There are already quite a few how to articles out there already.