How to configure PHPStorm for PSR-2

Just a quick tip - since Laravel 5.1 now is coming with PSR-2 support (most important change is spaces indent instead of tabs), it makes sense to configure your editor to support that by default, if you haven't done so already. To choose Code Style in PHPStorm, you just to to File -> Settings and navigate to that menu. phpstorm_psr2 Just choose PSR1/PSR2 and you're good to go!

No comments or questions yet...

Like our articles?

Become a Premium Member for $129/year or $29/month
What else you will get:
  • 57 courses (1055 lessons, total 46 h 42 min)
  • 78 long-form tutorials (one new every week)
  • access to project repositories
  • access to private Discord

Recent Premium Tutorials