An open API service indexing awesome lists of open source software.

https://github.com/victormln/docker-php-testing

Docker with PHP-fpm + Xdebug + Testing Tools (PHPUnit + Infection)
https://github.com/victormln/docker-php-testing

docker docker-compose php phpunit testing

Last synced: 2 months ago
JSON representation

Docker with PHP-fpm + Xdebug + Testing Tools (PHPUnit + Infection)

Awesome Lists containing this project

README

        

![PHP Version](https://img.shields.io/packagist/php-v/victormln/docker-php-testing)

# 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

1. From composer

```shell
$ composer create-project victormln/docker-php-testing your-project
```

OR with git:

```shell
$ git clone https://github.com/victormln/docker-php-testing.git your-project
$ cd your-project
$ make install
```

2. Execute PHPUnit:

```shell
$ make test
```

3. Execute Infection:

```shell
$ make infection
```