Norgul
Norgul

Reputation: 4783

Laravel IDE helper

I was wondering why putting the _ide_helper.php is supposed to go to .gitignore file?

Majority of my team uses PHPStorm and even if they didn't, would the file do them any "harm" actually?

Upvotes: 5

Views: 2636

Answers (1)

Magus
Magus

Reputation: 2992

No harm. Unless some brilliant fellow decides to use it inside your application to do something creative, you may commit it.

Since it's only going to be used by your ide, no harm will come from it. You can think of it like the .gitignore file or the composer require-dev section.

What I'd suggest you do instead, is install the Laravel plugin available to PHPStorm, which provides autocomplete to facades and even keys while using the config function. Pretty neat!

Upvotes: 1

Related Questions