定制 wmde/fun-validators 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Build Status Latest Stable Version Download count

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

GitHub 信息

  • Stars: 2
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2017-11-01