victormln/docker-php-testing

A project template to have PHP 8.1 and testing tools (PHPUnit + Infection)

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:Dockerfile

Type:template

8.2 2023-03-20 17:18 UTC

This package is auto-updated.

Last update: 2024-04-18 19:59:58 UTC


README

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