Phpactor is a PHP refactoring and autocompletion tool that works as both a standalone CLI application and backend for text editors. It provides intelligent code completion, class and method references, renaming and moving of classes, and code generation capabilities. Phpactor uses Tolerant PHP Parser to build an AST and power its reflection abilities. It communicates with editors via an RPC protocol and includes a Vim plugin to demonstrate its capabilities.