PHPackages                             cycle/entity-macros-uuid - 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. cycle/entity-macros-uuid

ActiveLibrary

cycle/entity-macros-uuid
========================

Provides an ability to use ramsey/uuid as a Cycle ORM entity column type

1.2.0(2y ago)034MITPHPPHP &gt;=8.0

Since Dec 22Pushed 2y ago3 watchersCompare

[ Source](https://github.com/cycle/entity-behavior-uuid)[ Packagist](https://packagist.org/packages/cycle/entity-macros-uuid)[ Docs](https://cycle-orm.dev)[ GitHub Sponsors](https://github.com/sponsors/cycle)[ RSS](/packages/cycle-entity-macros-uuid/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Cycle ORM Entity Behavior UUID
==============================

[](#cycle-orm-entity-behavior-uuid)

[![Latest Stable Version](https://camo.githubusercontent.com/41e86f96e28a3a0fb8c98cf0efb67c6f9c170847182ac94ad1df3a1cd4b1715a/68747470733a2f2f706f7365722e707567782e6f72672f6379636c652f656e746974792d6265686176696f722d757569642f76657273696f6e)](https://packagist.org/packages/cycle/entity-behavior-uuid)[![Build Status](https://github.com/cycle/entity-behavior-uuid/workflows/build/badge.svg)](https://github.com/cycle/entity-behavior-uuid/actions)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4d2c315a0d7f9f0e58fe313284b9cbe6c65352f68aa783d99b19f7ff83fb12c0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6379636c652f656e746974792d6265686176696f722d757569642f6261646765732f7175616c6974792d73636f72652e706e673f623d312e78)](https://scrutinizer-ci.com/g/cycle/entity-behavior-uuid/?branch=1.x)[![Codecov](https://camo.githubusercontent.com/780c6c5083763dc576b8c5ac4d99a629c7c98e0d4770a617c4b8fc5b34c3390c/68747470733a2f2f636f6465636f762e696f2f67682f6379636c652f656e746974792d6265686176696f722d757569642f67726170682f62616467652e737667)](https://codecov.io/gh/cycle/entity-behavior)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/TFeEmCs)

The package provides an ability to use `ramsey/uuid` as a Cycle ORM entity column type.

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

[](#installation)

Install this package as a dependency using Composer.

```
composer require cycle/entity-behavior-uuid
```

Example
-------

[](#example)

They are randomly-generated and do not contain any information about the time they are created or the machine that generated them.

```
use Cycle\Annotated\Annotation\Column;
use Cycle\Annotated\Annotation\Entity;
use Cycle\ORM\Entity\Behavior\Uuid\Uuid4;
use Ramsey\Uuid\UuidInterface;

#[Entity]
#[Uuid4]
class User
{
    #[Column(field: 'uuid', type: 'uuid', primary: true)]
    private UuidInterface $uuid;
}
```

You can find more information about Entity behavior UUID [here](https://cycle-orm.dev/docs/entity-behaviors-uuid).

License:
--------

[](#license)

The MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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 ~259 days

Total

4

Last Release

828d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![msmakouz](https://avatars.githubusercontent.com/u/67324318?v=4)](https://github.com/msmakouz "msmakouz (8 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (2 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (2 commits)")[![rustatian](https://avatars.githubusercontent.com/u/8040338?v=4)](https://github.com/rustatian "rustatian (1 commits)")[![sunxyw](https://avatars.githubusercontent.com/u/31698606?v=4)](https://github.com/sunxyw "sunxyw (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cycle-entity-macros-uuid/health.svg)

```
[![Health](https://phpackages.com/badges/cycle-entity-macros-uuid/health.svg)](https://phpackages.com/packages/cycle-entity-macros-uuid)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[stancl/tenancy

Automatic multi-tenancy for your Laravel application.

4.3k6.6M40](/packages/stancl-tenancy)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)

PHPackages © 2026

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