Skip to content

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

Notifications You must be signed in to change notification settings

victormln/docker-php-testing

Repository files navigation

PHP Version

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
$ 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
  1. Execute PHPUnit:
$ make test
  1. Execute Infection:
$ make infection