Code Editors
PhpStorm
Section titled “PhpStorm”If you’re using PhpStorm, you may configure a “Language Injection” to alert the editor that the language inside the
<php>
block is PHP.
In your preferences, look for Editor > Language Injections. In the top left you’ll see a plus sign (+).
From that menu, choose “XML Tag Injection”.
Then enter the following details.
This should make your editing experience much nicer.
An editor plugin will come eventually.
VSCode
Section titled “VSCode”We do not currently have a solution for VSCode syntax highlighting at this time.
It is recommended to use the mode => 'adjacent'
config to regain highlighting and code completion.