Installing Laravel 4 With PHPUnit 3.8 using Composer

Laravel is PHPUnit ready, but one needs to configure the composer.json file to tell composer, the dependency manager, to install the PHPUnit packages. If you want to use PHPUnit 3.8, you’ll need at least PHP 5.4.7. If you haven’t already upgraded to PHP 5.4.7, there is no time like the present.