Courses

Larastan: Catch Bugs with Static Analysis

Integrations: PhpStorm, VS Code, GitHub

You're reading a FREE PREVIEW of a PREMIUM course.

Every great tool can be hard to use. Especially if they are an inconvenience or something you have to remember each time. For example, you wouldn't want to go into your terminal and run ./vendor/bin/phpstan analyse every time you want to run PHPStan. It would become tedious, and you might often forget it. That's why it's important to integrate it into your existing code editor or IDE.

PHPStorm

While we could write a guide on how to set up PHPStan in PHPStorm, we don't have to. PHPStorm has a great guide on how to set it up. You can find it here.

But to summarize it, you need to install PHPStan globally, and then you can set it up in PHPStorm:...

The full lesson is only for Premium Members.
Want to access all 8 lessons of this course? (30 min read)

You also get:

  • 76 courses
  • Premium tutorials
  • Access to repositories
  • Private Discord