Sign inSign up

vcarreira/phpunit

By vcarreira

Updated almost 6 years ago

PHPUnit docker image to be used with Laravel

Image
0

1.4K

vcarreira/phpunit repository overview

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 [email protected].

Tag summary

Content type

Image

Digest

Size

205.3 MB

Last updated

almost 6 years ago

docker pull vcarreira/phpunit