locastic/oib-validator 问题修复 & 功能扩展

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

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

locastic/oib-validator

Composer 安装命令:

composer require locastic/oib-validator

包简介

Symfony person identification number validator based on constraints which are based on the Country regulation.

README 文档

README

Symfony oib validator based on oib rules for Croatian citizens ID number which include rules determined and assigned by the Tax Administration like mod 11 check digit.

Overview

The Personal identification number (hrv. Osobni identifikacijski broj or OIB) is a permanent national identification number of every Croatian citizen and legal persons domiciled in the Republic of Croatia.

Installation

composer require locastic/oib-validator

Annotations

If you are using annotations for validation, include the constraints namespace:

use Locastic\Component\OibValidator\Validator\Constraints as LocasticOib;

and then add the OibValidator constraint to the relevant field:

/**
 * @LocasticOib\OibValidator
 */
protected $oib;

YAML

App\Entity\Company:
    properties:
        oib:
            - Locastic\Component\OibValidator\Validator\Constraints\OibValidator

Support

Need help at your project? Write us an email on info@locastic.com

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固