victormln / docker-php-testing
A project template to have PHP 8.1 and testing tools (PHPUnit + Infection)
Package info
github.com/victormln/docker-php-testing
Language:Dockerfile
Type:template
pkg:composer/victormln/docker-php-testing
8.2
2023-03-20 17:18 UTC
Requires
- php: ^8.1
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Introduction
Template repository to have PHP + Xdebug + Testing tools (PHPUnit + Infection)
What is in this template
- PHP-fpm
- php.ini prepared to be edited by your own
- Composer
- Makefile
- Xdebug
- PHPUnit
- Infection
Installation
- From composer
$ composer create-project victormln/docker-php-testing your-project
OR with git:
$ git clone https://github.com/victormln/docker-php-testing.git your-project
$ cd your-project
$ make install
- Execute PHPUnit:
$ make test
- Execute Infection:
$ make infection