Hello, I'm new with Atom, and I tried to install and use atom-autocomplete-php in a pure Symfony 2 project. But it doesn't complete the Symfony 2 class.
For example, when I type "return new JsonResponse($json)", it doesn't autocomplete JsonResponse and doesn't automatically add the use statement.
I set up the composer and php path (PHP is from MacPorts, and composer is installed in macports bin directory (so /opt/local/bin/composer, and /opt/local/bin/php), and symfony framework is of course installed through composer and in vendor/ directory.
if params.params? and params.params[element]?
return @getFullClassName(editor, params.params[element].type, true)
$stmt->bindParam(...);
, atom crashes at $stmt-
after I type '>'. So far I haven't encountered this anywhere else. After disabling the plugin it no longer crashes.