Courses

Larastan: Catch Bugs with Static Analysis

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:...

This lesson is only for Premium Members.
Want to access all lessons of this course?

You also get:

  • 58 courses (1056 lessons, 44 h 09 min total)
  • Premium tutorials
  • Access to repositories
  • Private Discord