PHPackages                             pearl/aadhaar-validator - 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. pearl/aadhaar-validator

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

pearl/aadhaar-validator
=======================

Validate aadhaar using PHP

1.0(7y ago)085MITPHPPHP ~5.6|~7

Since May 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pearlkrishn/aadhaar-validator)[ Packagist](https://packagist.org/packages/pearl/aadhaar-validator)[ RSS](/packages/pearl-aadhaar-validator/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/963821c445a028914670ae7ff11e5f2128dbd07d8052159893f748a649f1cdf5/68747470733a2f2f7472617669732d63692e6f72672f706561726c6b726973686e2f616164686161722d76616c696461746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pearlkrishn/aadhaar-validator)

Validate aadhaar number using Verhoeff algorithm in PHP language.
=================================================================

[](#validate-aadhaar-number-using-verhoeff-algorithm-in-php-language)

Installation
------------

[](#installation)

`composer require pearl/aadhaar-validator`

How to use?
-----------

[](#how-to-use)

```
 use Pearl\AadhaarValidator\AadhaarValidator;

$obj = new AadhaarValidator();
$obj->validate("999999990019");
//returns true
$obj->validate("999999990020");
//return false
$obj->validate("999999990026");
//return true
$obj->validate("233214435423");
//return false

```

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2875d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/112170779b0833dbfc97e502ee21f0f5cacc68b563949394e5a86d5b6edb067e?d=identicon)[pearlkrishn](/maintainers/pearlkrishn)

---

Tags

validatordata validationaadhaar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pearl-aadhaar-validator/health.svg)

```
[![Health](https://phpackages.com/badges/pearl-aadhaar-validator/health.svg)](https://phpackages.com/packages/pearl-aadhaar-validator)
```

###  Alternatives

[respect/validation

The most awesome validation engine ever created for PHP

5.9k36.6M349](/packages/respect-validation)[seld/jsonlint

JSON Linter

1.3k214.5M186](/packages/seld-jsonlint)[composer/spdx-licenses

SPDX licenses list and validation library.

1.4k181.4M22](/packages/composer-spdx-licenses)[opis/json-schema

Json Schema Validator for PHP

64135.0M145](/packages/opis-json-schema)[intervention/validation

Additional validation rules for the Laravel framework

6776.6M6](/packages/intervention-validation)[laminas/laminas-validator

Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria

15543.9M168](/packages/laminas-laminas-validator)

PHPackages © 2026

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