Atom.io Larvel autoprediction woes

I'm trying to get PHP to autocomplete for my Laravel project - I tried many different packages, but no one seems to work ...

Here is a screenshot from the PHP class:

enter image description here

I need $table-> autocomplete and offer all the functions available to it! (functions like ->string(...) , ->text(...) , ->timestamps() , etc.)

Can anyone suggest something?

I have the following php related packages installed:

  • autocomplete-php (does this seem to work only for standard PHP functions?)
  • php-twig (only for TWIG ...)
  • language-php (basic PHP syntax ...)

But I need something else. I need to be able to identify all the classes in my Laravel project and automatically suggest their functions!

+7
php laravel laravel-5 atom-editor
source share
1 answer

You can use CTags to index definitions. Take a look at this Atom package:

Atom ctags

Don't worry that the animated demo is there for C, it should also work with PHP.

+3
source share

All Articles