LaravelPackages.net
Acme Inc.
Toggle sidebar
aindot/extra-rules

A package that include extra rules for Laravel, Kuwait Civil ID validation, ISBN10, ISBN13 and more in development.

2
0
v1.4
About aindot/extra-rules

aindot/extra-rules is a Laravel package for a package that include extra rules for laravel, kuwait civil id validation, isbn10, isbn13 and more in development.. It currently has 0 GitHub stars and 2 downloads on Packagist (latest version v1.4). Install it with composer require aindot/extra-rules. Discover more Laravel packages by aindot or browse all Laravel packages to compare alternatives.

Last updated

What it dose

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.

  • [x] Kuwaiti Civil ID.
  • [x] ISBN10.
  • [x] ISBN13.
  • [ ] ISNI.
  • [ ] ISWC.
  • [ ] ISTC.
  • [ ] ISAN.
  • [ ] ISMN.
  • [ ] ISRC.
  • [ ] URN.
  • [ ] NBN.
  • [ ] DOI.
  • [ ] ISSN.
  • [ ] ISMN.
  • [ ] EAN8.
  • [x] EAN13.
  • [ ] GTIN13.
  • [x] 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.

Star History Chart