Skip to main content
Tutorial Free

How to configure PHPStorm for PSR-2

June 23, 2015
1 min read
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!

Enjoyed This Tutorial?

Get access to all premium tutorials, video and text courses, and exclusive Laravel resources. Join our community of 10,000+ developers.

Recent Courses

Laravel Modules and DDD

16 lessons
1 h 59 min

Laravel 12 For Beginners: Your First Project

15 lessons
1 h 32 min

Laravel HTTP Client and 3rd-Party APIs

7 lessons
50 min

Comments & Discussion

No comments yet…

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.