Phpactor requires PHP 7.3.

Global Installation

You can checkout the project and then create a symlink:

$ cd ~/home/you/somewhere
$ git clone
$ cd phpactor
$ composer install
$ cd /usr/local/bin
$ sudo ln -s ~/your/projects/phpactor/bin/phpactor phpactor

Note that you may also use the composer global install method, but at time of writing this isn’t a good idea as the chances are good that it will conflict with other libraries.

Health Check

Phpactor works best when used with Composer, and is slightly better when used with Git.

Check support using the status command:

$ phpactor status
✔ Composer detected - faster class location and more features!
✔ Git detected - enables faster refactorings in your repository scope!