承接 wilsenhc/laravel-rif-validation 相关项目开发

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

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

wilsenhc/laravel-rif-validation

Composer 安装命令:

composer require wilsenhc/laravel-rif-validation

包简介

A Validation rule to check if a RIF is valid

README 文档

README

A Validation rule to check if a RIF is valid

Latest Version on Packagist Tests Total Downloads

This package provides rules to validate a RIF (Registro Único de Información Fiscal).

Installation

You can install the package via composer:

composer require wilsenhc/laravel-rif-validation

The package will automatically register itself.

Translations

If you wish to edit the package translations, you can run the following command to publish them into your lang/ folder

php artisan vendor:publish --provider="Wilsenhc\RifValidation\RifValidationServiceProvider"

Available rules

Rif

This validation rule will pass if the RIF value passed in the request is valid.

// in a `FormRequest`
public function rules()
{
    return [
        'rif' => 'required|rif',
    ];
}

You can also import the Rif Rule class and use it instead

// in a `FormRequest`

use Wilsenhc\RifValidation\Rules\Rif;

public function rules()
{
    return [
        'rif' => ['required', new Rif()],
    ];
}

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email wilsenforwork@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固