I'm trying to get PHP to autocomplete for my Laravel project - I've been trying lots of different packages, but none seem to work...
Here's a screenshot from a PHP class:
I need $table->
to autocomplete and suggest all the functions available to it! (functions such as ->string(...)
, ->text(...)
, ->timestamps()
, etc.)
Can anyone suggest anything?
I have the following php-related packages installed:
But I need something more. I need to be able to identify all the classes in my Laravel project and auto-suggest their functions!
You can use CTags to index the definitions. Have a look at this Atom package:
Atom Ctags
Don't worry that the animated demo there is presented for C, it should work with PHP just as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With