Courses

Larastan: Catch Bugs with Static Analysis

Let's look at a scenario where you have an older project that's already running pretty well and you just installed Larastan and ran the ./vendor/bin/phpstan analyse command for the first time:

[ERROR] Found 1289 errors

That's a lot of errors!

The first thought that comes to your mind after scrolling the list is - "It will take AGES to fix all of them! Not worth it, I don't have time for this!". But fear not, Larastan comes with a nice feature called Baseline generation which will help you with this. Let's see how it works...

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

You also get:

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