Install the prettier plugin for PhpStorm, there is a Larabit on here shows you how to do it.
This should help -> Make it Prettier
or If you want a more detailed overview of PhpStorm to learn the IDE better try this one out -> Be Awesome in PhpStorm
I have completed the series & it's well worth the time to learn the tips & tricks that top end professional programmers use.
Also, I highly recommend the Github Co-Pilot plugin, this will give you code completion & help you format your code to accepted conventions. Plus its free for one month so you can try it out & find out how great it is for free - then you won't be able to live without it (honestly it speeds up the learning x100)
Sorry for my delay in the response. I should have clarified that I want a way to format in the code and enforce in any CI workflow, e.g, as we do nowadays with prettier and eslint.
Also, I will checkout the serie "Be awesome with PhpStorm", didn't know that exist.
Maybe using something like Laravel Duster (release a few days ago) is the answer I am looking for. Not sure yet.
My doubt with those tools is if they are enough to format javascript code (vue components, typescript files, etc), blade components, and PHP backend code.