PHPackages                             aindot/extra-rules - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. aindot/extra-rules

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

aindot/extra-rules
==================

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

v1.3(8mo ago)02MITPHPPHP ^8.4CI passing

Since Jul 15Pushed 1mo agoCompare

[ Source](https://github.com/aindot/extra_rules)[ Packagist](https://packagist.org/packages/aindot/extra-rules)[ Docs](https://github.com/aindot/extra-rules)[ GitHub Sponsors](https://github.com/aindot)[ RSS](/packages/aindot-extra-rules/feed)WikiDiscussions trunk Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (5)Used By (0)

What it dose
============

[](#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.

- 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
------------

[](#installation)

You can install the package via composer:

```
composer require aindot/extra-rules
```

Usage
-----

[](#usage)

```
    $data = [
        'KuwaitiId' => $id,
    ];

    $validator = Validator::make($data, [
        'KuwaitiId' => [new KuwaitCivilId],
    ]);
```

Credits
-------

[](#credits)

- [Abdullah](https://github.com/aindot)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance76

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Total

4

Last Release

253d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9aaf365a4ff5306dd0e81011b871b274b29575753043ef8b599655555bd06906?d=identicon)[aindot](/maintainers/aindot)

---

Top Contributors

[![aindot](https://avatars.githubusercontent.com/u/159195178?v=4)](https://github.com/aindot "aindot (19 commits)")

---

Tags

laravelaindotextra-rules

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/aindot-extra-rules/health.svg)

```
[![Health](https://phpackages.com/badges/aindot-extra-rules/health.svg)](https://phpackages.com/packages/aindot-extra-rules)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[ziming/laravel-zxcvbn

Zxcvbn Password validation rule for Laravel

3056.7k](/packages/ziming-laravel-zxcvbn)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
