Sublime Forum

Php annotations plugin?

#1

Hi, can anyone tell me if Sublime Text has a PHP annotations plugin, thanks.

Also if it has Doctrine and Symfony plugins please tell me as they are a plus but not as important.

1 Like

#2

I am interested as well.
But I cannot really find anything covering the Symfony framework. That’s a pity.

There is just this one, but is pretty minimal: https://github.com/SublimeLinter/SublimeLinter-annotations

EDIT:

wait a moment; I didn’t try it, but I found this Gist for changing PHP syntax to also support Symfony/Doctrine annotations.
Not sure how complete is that, but is a start.

0 Likes

#3

It would be awesome with Symfony autocomplete support in Sublime Text 4 like PHPStorm has, for example in this tutorial around 4:30: https://symfonycasts.com/screencast/symfony/route-controller

0 Likes