aindot/extra-rules
最新稳定版本:v1.3
Composer 安装命令:
composer require aindot/extra-rules
包简介
A package that include extra rules for Laravel, Kuwait Civil ID validation, ISBN10, ISBN13 and more in development.
README 文档
README
A package that include extra validation rules for Laravel, this package approach focuses on actual usage, for example the ISBN test must validate against different real-world examples.
The following are the validation rules that are in development or have been developed.
- Kuwaiti Civil ID.
- ISBN10.
- ISBN13.
- ISNI.
- ISWC.
- ISTC.
- ISAN.
- ISMN.
- ISRC.
- URN.
- NBN.
- DOI.
- ISSN.
- ISMN.
- EAN8.
- EAN13.
- GTIN13.
- IMEI.
- IMEISV.
- IMSI - A unique identifier for a mobile network subscriber.
- ICCID - A unique serial number identifying a sim card.
Installation
You can install the package via composer:
composer require aindot/extra-rules
Usage
$data = [ 'KuwaitiId' => $id, ]; $validator = Validator::make($data, [ 'KuwaitiId' => [new KuwaitCivilId], ]);
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-15