PHPackages                             lucasmichot/uuid62 - 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. lucasmichot/uuid62

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

lucasmichot/uuid62
==================

generate a unique Uuid from a value, using base 62.

171PHP

Since Dec 11Pushed 11y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Uuid62
======

[](#uuid62)

A simple library

[![Latest Stable Version](https://camo.githubusercontent.com/49d514e2409d655b734c98abb66f887a85463808e3a43cf1dd6279e74d19a8d2/68747470733a2f2f706f7365722e707567782e6f72672f6c756361736d6963686f742f5575696436322f762f737461626c652e706e67)](https://packagist.org/packages/lucasmichot/Uuid62)[![Total Downloads](https://camo.githubusercontent.com/ec53aff6526f0ce735b46733236c6575ee0a3ef23e523fc740aff15c4230ad57/68747470733a2f2f706f7365722e707567782e6f72672f6c756361736d6963686f742f5575696436322f646f776e6c6f6164732e706e67)](https://packagist.org/packages/lucasmichot/Uuid62)[![Build Status](https://camo.githubusercontent.com/d54ada7f374509aac4e4dfd131be0cdcb546223d8f9cc63a99078573a2b743f1/68747470733a2f2f7472617669732d63692e6f72672f6c756361736d6963686f742f5575696436322e706e67)](https://travis-ci.org/lucasmichot/Uuid62)

- [Requiring/Loading](#requiringloading)
- [Methods](#methods)
- [get()](#get)
- [Tests](#tests)
- [License](#license)

Requiring / Loading
-------------------

[](#requiring--loading)

If you're using Composer to manage dependencies, you can include the following in your `composer.json` file:

```
"require": {
    "lucasmichot/uuid62": "dev-master"
}

```

Then, after running `composer update` or `php composer.phar update`, you can load the class using Composer's autoloading:

```
require 'vendor/autoload.php';
```

Otherwise, you can simply require the file directly:

```
require_once 'path/to/Uuid62/src/Uuid62/Uuid62.php';
```

Methods
-------

[](#methods)

#### get()

[](#get)

Create a unique Base62 ID from a string, an object or an array.

```
$uuid = Uuid62::get('lucas@semalead.com');
echo $uuid;
// '6cSgR9eY7KkMkgA84Gw007'

$uuid = Uuid62::get(array('mail' => 'lucas@semalead.com'));
echo $uuid;
// '54TRNAo7kI4KqO2ooQC007'
```

Todos
-----

[](#todos)

Create tests and edit README.md

Tests
-----

[](#tests)

From the project directory, tests can be ran using `phpunit`

License
-------

[](#license)

Released under the MIT License - see `LICENSE.txt` for details.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8476d69514125fdd39d5d1caa9da3bff9c7a6345702b0dfd8d185c84adf924b9?d=identicon)[lucasmichot](/maintainers/lucasmichot)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lucasmichot-uuid62/health.svg)

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

###  Alternatives

[vmwarephp/vmwarephp

Vmware vSphere bindings for PHP

7818.8k](/packages/vmwarephp-vmwarephp)[orrison/cumulus

Import DNS records from Laravel Vapor into Cloudflare

3817.1k](/packages/orrison-cumulus)[friends-of-hyva/magento2-crawler-session

Prevent crawlers from creating a session

155.8k](/packages/friends-of-hyva-magento2-crawler-session)

PHPackages © 2026

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