Public | Automated Build

Last pushed: 3 months ago
Short Description
PHPUnit docker image to be used with Laravel
Full Description

PHPUnit docker image for Laravel

This is a Docker image for phpunit CLI to be used with a Laravel PHP Framework setup. It will use the phpunit from vendor/bin so that syntax color is enabled.

An automated build for this repo is available on the Docker Hub.

This image works well when used with the Docker Laravel multi-container solution.

Images used by Docker Laravel

Running phpunit commands

The container working directory is the volume /var/www. You can run any phpunit command like this:

docker run -t --rm -v $(pwd):/var/www vcarreira/phpunit <phpunit args here>

:ok_hand: Happy Coding.

If you have any feedback or questions, feel free to contact me on Twitter with @vcarreira or email with

Docker Pull Command
Source Repository