laravel-ide-helper
laravel-ide-helper copied to clipboard
Macro autocompletion for non static situations
As #1254 and #1159 refer PHPStorm has no way to handle autocompletion for static generated macros in _ide_helper.php file
What I already see is that there is a package that handles this almost automatically by marking the macro as instantiated here the reference: https://github.com/KristofMorva/laravel-ide-macros#use-of-non-static-macros, it only needs to add the macro classes on a config file and it makes pretty much the same thing as ide_helper by creating a static method, but if it is marked as instatiated it generates it as a non static method.