eufaturo/vat-number-validator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

eufaturo/vat-number-validator

Composer 安装命令:

composer require eufaturo/vat-number-validator

包简介

PHP Vat Number Validator

README 文档

README

GitHub Tests Action Status GitHub Code Analysis Action Status Software License Latest Version on Packagist Total Downloads

Introduction

This is a simple yet modern PHP library to validate VAT numbers.

The API is overall simple and returns a true or false boolean.

Code Samples

In order to use this library, you simply need to import and initialize the VatNumberValidator class.

Then just call the validate method and pass the VAT number you want to validate as it's sole argument.

<?php

use Eufaturo\VatNumberValidator\VatNumberValidator;

$validator = new VatNumberValidator();

$isValid = $validator->validate(
    vatNumber: 'PT100000010',
);

Installation

This library is installed via Composer and to install, run the following command.

composer require eufaturo/vat-number-validator

Testing

composer test

Contributing

Thank you for your interest. Here are some of the many ways to contribute.

License

This library is open-sourced software licensed under the MIT license.

Inspiration

This library was inspired by https://github.com/antalaron/vat-number-validator.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固