Warning
This language server may not be the one you're looking for.
I personally use it and will continue to maintain it until I don't use it anymore. There are new and interesting open source language servers being developed that can offer far more performant capabilities. I think Phpactor still offers some great features, especially in regards to code actions and I genuinely miss some functionality when using servers for Rust, Go and Typescript.
There are many parts of this project that I'm proud of but ultimately it has some short-comings in regards to performance, accuracy and maintainability that I'm not capable of addressing at this time. YMMV.
This project aims to provide heavy-lifting refactoring and introspection tools which can be used standalone or as the backend for a text editor to provide intelligent code completion.
- Accurate code completion including class name auto-import.
- Various refactoring,fixes and code generation options.
- Provides a Language Server
- Native VIM plugin (emacs plugin is in development).
- Navigation (jump to definition, related classes, references etc).
- More.
Phpactor is a general tool, it is not intended that it be installed as a project dependency.
See Installation for installation instructions.
Phpactor will perform better with Composer and, to a lesser extent, with GiT.
Full documentation can be found on Read the Docs
- Follow @phpactor on 🦣 Mastodon for latest news.
- Join the
#phpactorchannel on the Slack Symfony Devs channel.
This package is open source and welcomes contributions! Feel free to open a pull request on this repository.
- Create an issue on the main Phpactor repository.
- Join the
#phpactorchannel on the Slack Symfony Devs channel.
The following organisations are providing either financial support or free services. If you would like to support Phpactor development financially you can sponsor me.

