PHPackages                             furiosojack/hashids-integer - 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. furiosojack/hashids-integer

ActivePackage

furiosojack/hashids-integer
===========================

v1.0.3(6y ago)076PHPCI failing

Since Apr 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/FuriosoJack/hashids-integer)[ Packagist](https://packagist.org/packages/furiosojack/hashids-integer)[ RSS](/packages/furiosojack-hashids-integer/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

hashids-integer
===============

[](#hashids-integer)

Este paquete es una copia del puete de [amamarul](https://github.com/amamarul/integer-hashids).

This package is a copy of the [amamarul](https://github.com/amamarul/integer-hashids) bridge.

Con este paquete se pueden construir un string aleatorio a partir de un array de numeros enteros.

With this package you can build a random string from an array of integers.

Instalacion
-----------

[](#instalacion)

### Composer require

[](#composer-require)

```
$ composer require furiosojack/hashids-integer
```

Uso
---

[](#uso)

- salt: is a phrase string.
- minLength: Number min of characters you need
- alphabet: you can set any character to make the hash, but if you want integer hashid keep the same ('0123456789').
- prefix: if you want a prefixed hashid you can add the prefix, if not you can omit it or delete the parameter.
- prefix-separator: If you use a prefix maybe do you want to use a prefix separator. If not leave empty ('').

```
   use FuriosoJack\HashidsInteger\Core\HashidsInteger;

    $hashers = new HashidsInteger("{/SvFtGNUZNw'aT$/'.t",10,"1234567890");
    $dcode = $hashers->encode([1,579144]);
   // output: 49274776074

   $hashers = new HashidsInteger("{/SvFtGNUZNw'aT$/'.t",10,"abcdefghijklmnopq");
   $output = $hashers->encode([4,2]);
   //output: kjngeqfbgd

   $hashers = new HashidsInteger("{/SvFtGNUZNw'aT$/'.t",10,"abcdefghijklmnopq","hash");
   $output = $hasers->encode([4,2,15,21]);
   //output:hash-npfeiemcbq

   $hashers->decode("hash-npfeiemcbq");
   //output: array(4,2,15,21)

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Every ~3 days

Total

3

Last Release

2228d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2fd73421b97b51d66481801f2e6472df8ef9eb92b52c020643c3cd4cf44e564?d=identicon)[FuriosoJack](/maintainers/FuriosoJack)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/furiosojack-hashids-integer/health.svg)

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

PHPackages © 2026

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