PHPackages                             brevid/brevid - 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. brevid/brevid

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

brevid/brevid
=============

Generate short, clean IDs

v1.0.0(2y ago)032MITPHPPHP ^8.1

Since Apr 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/stlln/brevid-php)[ Packagist](https://packagist.org/packages/brevid/brevid)[ Docs](https://github.com/stlln/brevid-php/)[ RSS](/packages/brevid-brevid/feed)WikiDiscussions main Synced 1mo ago

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

BrevId
======

[](#brevid)

Generate short, clean IDs

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

[](#installation)

```
composer require brevid/brevid
```

Usage
-----

[](#usage)

```
use BrevId\BrevId;

$brevId = new BrevId();

print($brevId->generate());

// Output: 5y1wpm669718pwrk
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

762d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20e719ece5ef8f66dcbb56473bf7425530af7caf71c895be02cccc55e15230f4?d=identicon)[stlln](/maintainers/stlln)

---

Top Contributors

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

---

Tags

ids

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[hashids/hashids

Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers

5.5k48.6M278](/packages/hashids-hashids)[jenssegers/optimus

Id obfuscation based on Knuth's integer hash method

1.3k4.8M27](/packages/jenssegers-optimus)[sqids/sqids

Generate short YouTube-looking IDs from numbers

5781.4M33](/packages/sqids-sqids)[red-explosion/laravel-sqids

Easily generate Stripe/YouTube looking IDs for your Laravel models.

4530.8k](/packages/red-explosion-laravel-sqids)[delight-im/ids

Short, obfuscated and efficient IDs for PHP

289.5k1](/packages/delight-im-ids)[light/hashids

Hashids for Yii2

1120.2k](/packages/light-hashids)

PHPackages © 2026

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