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

https://github.com/victormln/code-retreat-2022

Code Retreat 2022 - Software Crafters Meetup
https://github.com/victormln/code-retreat-2022

Last synced: 6 months ago
JSON representation

Code Retreat 2022 - Software Crafters Meetup

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
```

2. Install repository

```shell
$ cd your-project
$ make install
```

3. Execute PHPUnit:

```shell
$ make test
```

4. Execute Infection:

```shell
$ make infection
```