承接 binaryceo/validator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

binaryceo/validator

最新稳定版本:v1.0.0

Composer 安装命令:

composer require binaryceo/validator

包简介

A PHP package for validate inputs and data.

README 文档

README

A lightweight PHP package for validate forms data.

Installation

This library uses PSR-4 autoloading. Recommended installation via Composer:

composer require binaryceo/validator

If you are developing the library and want to run tests:

composer install

Usage

require 'vendor/autoload.php';

use BinaryCEO\Component\Validator\Validation;

$validation = new Validation();
if($validation->check('string', 'binaryceo')) {
    echo 'Is string.';
}

Running tests

To run the PHPUnit test suite locally:

composer install
composer test

If you don't want to use Composer, there's a minimal CLI test runner at Tests/ValidationTest.php (but PHPUnit is recommended).

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Send a pull request

License

This project is licensed under the MIT License.
See the LICENSE file for details.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-01