I use both Prettier and Pint. I use Prettier for formatting frontend code like React/Vue. However, I also use it for Blade templates since Pint does not format Blade templates.
Prettier can also sort Tailwind classes as well which I prefer.
All my normal PHP files are formatted with Pint, Prettier does not touch those.
I use both Prettier and Pint. I use Prettier for formatting frontend code like React/Vue. However, I also use it for Blade templates since Pint does not format Blade templates.
Prettier can also sort Tailwind classes as well which I prefer.
All my normal PHP files are formatted with Pint, Prettier does not touch those.
yes combining them together is a great idea. I do the same.