Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHPStorm: Goto Laravel Method Declaration

Usually in PHPStorm to go to method declaration in Windows you can [ctrl+click] on the method name and PHPStorm will open the file that the method is in. However, that's not working with the Laravel facade pattern.

Is there a way to make this work?

like image 765
Bazinga Avatar asked Aug 16 '26 11:08

Bazinga


1 Answers

You can try this package:

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

All the info is in the github repo.

like image 193
cdarken Avatar answered Aug 19 '26 17:08

cdarken