PHPackages                             waleedahmedwaheed/unique-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. waleedahmedwaheed/unique-validator

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

waleedahmedwaheed/unique-validator
==================================

A PHP library for unique validation rules such as palindrome, isogram, and anagram checks.

01PHP

Since Aug 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/waleedahmedwaheed/UniqueValidator)[ Packagist](https://packagist.org/packages/waleedahmedwaheed/unique-validator)[ RSS](/packages/waleedahmedwaheed-unique-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

UniqueValidator
===============

[](#uniquevalidator)

A PHP library for unique validation rules such as palindrome, isogram, and anagram checks.

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

[](#installation)

You can install the package via Composer:

```
composer require waleedahmedwaheed/unique-validator
```

Usage
-----

[](#usage)

### Palindrome Check

[](#palindrome-check)

```
use UniqueValidator\Validator;

if (Validator::isPalindrome('A man, a plan, a canal, Panama')) {
    echo 'This is a palindrome.';
} else {
    echo 'This is not a palindrome.';
}
```

### Isogram Check

[](#isogram-check)

```
if (Validator::isIsogram('Dermatoglyphics')) {
    echo 'This is an isogram.';
} else {
    echo 'This is not an isogram.';
}
```

### Anagram Check

[](#anagram-check)

```
if (Validator::isAnagram('listen', 'silent')) {
    echo 'These are anagrams.';
} else {
    echo 'These are not anagrams.';
}
```

License
-------

[](#license)

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/42800e84285285addd556dbb5408679f230c2dabf08cf0e2f1d8b81e9588fa87?d=identicon)[waleedahmedwaheed](/maintainers/waleedahmedwaheed)

---

Top Contributors

[![waleedahmedwaheed](https://avatars.githubusercontent.com/u/31502387?v=4)](https://github.com/waleedahmedwaheed "waleedahmedwaheed (3 commits)")

### Embed Badge

![Health badge](/badges/waleedahmedwaheed-unique-validator/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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