Michael
Michael

Reputation: 576

What do I need this Laravel IDE helper for?

I found this very popular package on github.

https://github.com/barryvdh/laravel-ide-helper

I've seen this used in several projects I've worked in but I am not sure what the benefits exactly are of this package. If I understand correctly it generates a file in the root of your project with a "clone" of the Laravel Framework. This should help with autocompletion.

I don't see any clear examples in the documentation.

Upvotes: 2

Views: 1306

Answers (1)

naneri
naneri

Reputation: 3971

When using with PHPStorm it does suggest autocomplete for methods and properties for facade classes. For instance Mail and DB classes are facades, and when using them, you won't have all the suggestions and also the methods will be highlighted as non existent.

Upvotes: 8

Related Questions