wmde/fun-validators
最新稳定版本:v5.1.0
Composer 安装命令:
composer require wmde/fun-validators
包简介
General and shared validation services created as part of the WMDE fundraising software
README 文档
README
General and shared validation services created as part of the WMDE fundraising software.
Installation
To use the fun-validators library in your project, simply add a dependency on wmde/fun-validators
to your project's composer.json file. Here is a minimal example of a composer.json
file that just defines a dependency on fun-validators 1.x:
{
"require": {
"wmde/fun-validators": "~1.0"
}
}
Development
For development you need to have Docker and compose Docker plugin installed. Local PHP and Composer are not needed.
Installing dependencies
To install the project dependencies via Composer, run:
make install-php
To update the dependencies, run
make update-php
To update a specific dependency, you can run
make update-php COMPOSER_FLAGS=dependency-name
Running the CI checks
To run all CI checks, which includes PHPUnit tests, PHPCS style checks and coverage tag validation, run:
make
Running the tests
To run just the PHPUnit tests run
make test
To run only a subset of PHPUnit tests or otherwise pass flags to PHPUnit, run
docker compose run --rm fun-validators ./vendor/bin/phpunit --filter SomeClassNameOrFilter
统计信息
- 总下载量: 15.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2017-11-01