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
- Host: GitHub
- URL: https://github.com/victormln/code-retreat-2022
- Owner: victormln
- Created: 2022-11-04T21:52:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T21:52:32.000Z (about 3 years ago)
- Last Synced: 2025-03-02T16:17:29.858Z (10 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- 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
```
2. Install repository
```shell
$ cd your-project
$ make install
```
3. Execute PHPUnit:
```shell
$ make test
```
4. Execute Infection:
```shell
$ make infection
```