PHPackages                             macgyer/yii2-uuid-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. macgyer/yii2-uuid-validator

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

macgyer/yii2-uuid-validator
===========================

UUID validator for Yii2

1.0.1(8y ago)111.8k2[1 PRs](https://github.com/MacGyer/yii2-uuid-validator/pulls)MITPHPPHP &gt;=5.4.0

Since Oct 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/MacGyer/yii2-uuid-validator)[ Packagist](https://packagist.org/packages/macgyer/yii2-uuid-validator)[ Docs](https://github.com/MacGyer/yii2-uuid-validator)[ RSS](/packages/macgyer-yii2-uuid-validator/feed)WikiDiscussions master Synced 2mo ago

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

yii2-uuid-validator
===================

[](#yii2-uuid-validator)

UUID validator for Yii2 framework

This validator was strongly influenced by . Thanks @ramsey for your great UUID package.

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

[](#installation)

The preferred way of installation is through Composer. If you don't have Composer you can get it here:

To install the package add the following to the `require` section of your composer.json:

```
"require": {
    "macgyer/yii2-uuid-validator": "*"
},

```

Usage
-----

[](#usage)

Just add the validator to your Model class:

```
// rules
public function rules()
{
  return [
      // more rules
      ['some_property', \macgyer\yii2uuidvalidator\UuidValidator::className()],
  ];
}

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~454 days

Total

2

Last Release

3025d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78f83100a0024086e9dcecb006456faedf561f296fbc0b6a86b6eb1f052e46c0?d=identicon)[macgyer](/maintainers/macgyer)

---

Top Contributors

[![MacGyer](https://avatars.githubusercontent.com/u/2939625?v=4)](https://github.com/MacGyer "MacGyer (2 commits)")

---

Tags

validatoruuidyii2Universally unique identifier

### Embed Badge

![Health badge](/badges/macgyer-yii2-uuid-validator/health.svg)

```
[![Health](https://phpackages.com/badges/macgyer-yii2-uuid-validator/health.svg)](https://phpackages.com/packages/macgyer-yii2-uuid-validator)
```

###  Alternatives

[thamtech/yii2-uuid

Yii 2 UUID Helper

35347.9k7](/packages/thamtech-yii2-uuid)

PHPackages © 2026

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