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)
- Host: GitHub
- URL: https://github.com/victormln/docker-php-testing
- Owner: victormln
- Created: 2022-05-23T20:24:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T19:59:54.000Z (about 1 year ago)
- Last Synced: 2025-01-13T03:31:40.208Z (4 months ago)
- Topics: docker, docker-compose, php, phpunit, testing
- Language: Dockerfile
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
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
```