PHPackages                             package-of-yii/uuid-yii - 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. package-of-yii/uuid-yii

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

package-of-yii/uuid-yii
=======================

Ramsey Uuid for Yii 2 applications.

v1.1(4y ago)027MITPHPPHP &gt;=5.5

Since Jul 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/package-of-yii/uuid-yii)[ Packagist](https://packagist.org/packages/package-of-yii/uuid-yii)[ Docs](https://github.com/package-of-yii/uuid-yii)[ RSS](/packages/package-of-yii-uuid-yii/feed)WikiDiscussions master Synced 2d ago

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

Uuid for Yii
============

[](#uuid-for-yii)

The Uuid for Yii provides you with instant accessibility to use Uuid in Yii PHP applications. This package uses [Ramsey uuid](https://github.com/ramsey/uuid) to generate unique uuid string.

Features
--------

[](#features)

- Automatic insertion of Uuid using Behavior option.

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

[](#installation)

Use composer to install the package

```
composer require package-of-yii/uuid-yii

```

Getting started
---------------

[](#getting-started)

Behaviour Class Implementation

```
use Poyii\Uuid\Behavior\UuidBehavior;

public function behaviors()
{
    return [
        'uuid' => [
            'class' => UuidBehavior::class,
            'column' => 'uuid',
            'value' => Uuid::uuid6(),
        ],
    ];
}
```

Contributing
------------

[](#contributing)

All contributors are welcome! For information on how to build, test, and release, see our [contributing guide](CONTRIBUTING.md).

License
-------

[](#license)

The Uuid Yii library is free software released under the MIT License.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

1771d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d46fb8b473d604d2f5eb4e27451ef88b44e10a430c0a0ce89b4e501fcfe95b2?d=identicon)[pralhad](/maintainers/pralhad)

---

Top Contributors

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

---

Tags

phpuuidyii2ramsey

### Embed Badge

![Health badge](/badges/package-of-yii-uuid-yii/health.svg)

```
[![Health](https://phpackages.com/badges/package-of-yii-uuid-yii/health.svg)](https://phpackages.com/packages/package-of-yii-uuid-yii)
```

###  Alternatives

[thamtech/yii2-uuid

Yii 2 UUID Helper

35347.9k7](/packages/thamtech-yii2-uuid)[gamez/ramsey-uuid-normalizer

Symfony Normalizer and Denormalizer for ramsey/uuid

16619.1k3](/packages/gamez-ramsey-uuid-normalizer)

PHPackages © 2026

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