I have no software related to PHP on my laptop. I know how to code in PHP and have previously used Subversion through Eclipse which connects to a web server but unfortunately I’m struggling to find anything that tells you how to create a PHP setup on a local machine including PHPUnit so that I can practice test driven development.
Any advice would be appreciated.
The easiest way is probably using XAMPP, as is already installs a PEAR environment.
Install XAMPP first, then to install PHPUnit click the “Shell” button in the XAMPP control panel and enter the following commands: