Repository navigation
Integrating PHP Formatters (Such as Mago) #8713
trymeouteh
started this conversation in
Ideas
Replies: 2 comments
0 replies
|
Prettier supports PHP through a plugin perhaps the feature can take inspiration from it |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
PHP files can contain HTML, CSS, JS code just like any other HTML file can, but it can also contain PHP code which goes inside the PHP brackets...
There are PHP formatters such as Mago which can format PHP code. However it can only format PHP code and not HTML, CSS and JS code.
I would like to suggest teaming up with Mago to add PHP support to Biome or adding Biome support to Mago to allow HTML, CSS, JS, and PHP code to be formatted in PHP files.
All reactions