PHPackages                             primipilus/guid - 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. primipilus/guid

ActiveLibrary

primipilus/guid
===============

Guid object

2.0.0(7y ago)04.4kMITPHPPHP &gt;=7.1

Since Jul 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/primipilus/guid)[ Packagist](https://packagist.org/packages/primipilus/guid)[ Docs](https://github.com/primipilus/guid)[ RSS](/packages/primipilus-guid/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

Guid
----

[](#guid)

Composer install
----------------

[](#composer-install)

```
composer require "primipilus/guid:~2.0"
```

Usage
-----

[](#usage)

```
$guid = new \primipilus\guid\Guid();
$guid->generate();
echo $guid;
```

Methods
-------

[](#methods)

```
$guid = new \primipilus\guid\Guid();

// methods of guid:
$guid->generate();
$guid->isValid();
$guid->isZero();
$guid->getValue();

echo $guid;

$guid = \primipilus\guid\GuidHelper::createGeneratedGuid();
$guid = \primipilus\guid\GuidHelper::createGuid('80d58e0c-2524-cb83-208f-954807f1537b');
$guid = \primipilus\guid\GuidHelper::createZeroGuid();
\primipilus\guid\GuidHelper::validate('80d58e0c-2524-cb83-208f-954807f1537b');
\primipilus\guid\GuidHelper::zero('00000000-0000-0000-0000-000000000000');
\primipilus\guid\GuidHelper::generateValue();
```

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

2893d ago

Major Versions

v1.1.0 → 2.0.02018-04-19

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.0

2.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/4bfadced1affd667d8970d27271e3d227b64a1f55951fe83ad4733b9013e4c71?d=identicon)[primipilus](/maintainers/primipilus)

---

Top Contributors

[![primipilus](https://avatars.githubusercontent.com/u/19665318?v=4)](https://github.com/primipilus "primipilus (5 commits)")

---

Tags

guid

### Embed Badge

![Health badge](/badges/primipilus-guid/health.svg)

```
[![Health](https://phpackages.com/badges/primipilus-guid/health.svg)](https://phpackages.com/packages/primipilus-guid)
```

###  Alternatives

[ramsey/uuid

A PHP library for generating and working with universally unique identifiers (UUIDs).

12.6k686.5M2.9k](/packages/ramsey-uuid)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90539.5M180](/packages/ramsey-uuid-doctrine)[pascaldevink/shortuuid

PHP 7.4+ library that generates concise, unambiguous, URL-safe UUIDs

5951.8M14](/packages/pascaldevink-shortuuid)[emadadly/laravel-uuid

laravel uuid a simple, automatic UUID generator for any model based on Laravel.

120414.6k3](/packages/emadadly-laravel-uuid)[keiko/uuid-shortener

A simple shortener library for RFC 4122 compatible UUIDs. Change your 36 chars long UUID into it's shorter equivalent.

150211.5k2](/packages/keiko-uuid-shortener)[thamtech/yii2-uuid

Yii 2 UUID Helper

35341.5k6](/packages/thamtech-yii2-uuid)

PHPackages © 2026

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