victormln / docker-php-testing
一个PHP 8.1和测试工具(PHPUnit + Infection)的项目模板
8.2
2023-03-20 17:18 UTC
Requires
- php: ^8.1
Requires (Dev)
- phpunit/phpunit: ^9.5
README
简介
模板仓库包含PHP + Xdebug + 测试工具(PHPUnit + Infection)
模板中包含什么
- PHP-fpm
- php.ini已准备供您自行编辑
- Composer
- Makefile
- Xdebug
- PHPUnit
- Infection
安装
- 通过Composer
$ composer create-project victormln/docker-php-testing your-project
或使用git
$ git clone https://github.com/victormln/docker-php-testing.git your-project
$ cd your-project
$ make install
- 执行PHPUnit
$ make test
- 执行Infection
$ make infection