Chapter 1. Download

We distribute a PHP Archive (PHAR) that contains all required dependencies of PHP Reflect bundled in a single file.

Download the latest version

Make it executable, and put it into your $PATH.

$ chmod +x phpreflect-4.2.2.phar
$ mv phpreflect-4.2.2.phar /usr/local/bin/phpreflect

$ phpreflect --version

You can also immediately use the PHAR after you have downloaded it.

$ wget http://bartlett.laurent-laville.org/get/phpreflect-4.2.2.phar
$ php phpreflect-4.2.2.phar --version

With both methods then you have this output :

phpReflect version 4.2.2

Other alternative installations are possible. Please refer to the Chapter 7, Installation for details on how to do this.