PHPackages                             dakujem/sqids-legacy-backport - 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. dakujem/sqids-legacy-backport

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

dakujem/sqids-legacy-backport
=============================

Backport of sqids/sqids for PHP 7.4 and PHP 8.0

0.5.0(7mo ago)024MITPHPPHP ^7.4 || ^8.0CI passing

Since Oct 3Pushed 7mo agoCompare

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

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

Sqids (backport for legacy PHP)
===============================

[](#sqids-backport-for-legacy-php)

[![Test suite](https://github.com/dakujem/sqids-legacy-backport/actions/workflows/phpunit.yml/badge.svg)](https://github.com/dakujem/sqids-legacy-backport/actions/workflows/phpunit.yml)

> 💿 `composer require dakujem/sqids-legacy-backport`

This is a trivial backport of the original package [sqids/sqids](https://github.com/sqids/sqids-php)for **PHP 7.4** and **PHP 8.0** only.

Documentation
-------------

[](#documentation)

Please refer to the documentation of the original package: 👉 [sqids/sqids](https://github.com/sqids/sqids-php) 👈

Migration to PHP 8.1+
---------------------

[](#migration-to-php-81)

After updating your project to a version supported by the original `sqids/sqids`, change your project requirement from `dakujem/sqids-legacy-backport` to `sqids/sqids`.
That should be it.

Compatibility
-------------

[](#compatibility)

This backport is based on [the same tag](https://github.com/sqids/sqids-php/tags) of `sqids/sqids`it is released under.
PHP 8 features (most notably constructor property promotion) have been removed or replaced.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance64

Regular maintenance activity

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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

222d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bd7fa945013e9c0dcd65693575276bf5fcb9b9de13e1123e9f2c4a0a4c0fb6b?d=identicon)[dakujem](/maintainers/dakujem)

---

Top Contributors

[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (25 commits)")[![4kimov](https://avatars.githubusercontent.com/u/56128128?v=4)](https://github.com/4kimov "4kimov (24 commits)")[![dakujem](https://avatars.githubusercontent.com/u/443067?v=4)](https://github.com/dakujem "dakujem (11 commits)")[![GromNaN](https://avatars.githubusercontent.com/u/400034?v=4)](https://github.com/GromNaN "GromNaN (8 commits)")

---

Tags

encodedecodeidshashidsgeneratesqidsphp74backport

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dakujem-sqids-legacy-backport/health.svg)

```
[![Health](https://phpackages.com/badges/dakujem-sqids-legacy-backport/health.svg)](https://phpackages.com/packages/dakujem-sqids-legacy-backport)
```

###  Alternatives

[hashids/hashids

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

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

Generate short YouTube-looking IDs from numbers

5781.4M33](/packages/sqids-sqids)[jenssegers/optimus

Id obfuscation based on Knuth's integer hash method

1.3k4.8M27](/packages/jenssegers-optimus)[christian-riesen/base32

Base32 encoder/decoder according to RFC 4648

13331.8M61](/packages/christian-riesen-base32)[delight-im/ids

Short, obfuscated and efficient IDs for PHP

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

Laravel package for Hashids

54335.1k](/packages/torann-hashids)

PHPackages © 2026

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