PHPackages                             redpanda/hashids-service-provider - 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. redpanda/hashids-service-provider

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

redpanda/hashids-service-provider
=================================

Hashids for Silex

040PHP

Since May 11Pushed 12y agoCompare

[ Source](https://github.com/redpanda/HashidsServiceProvider)[ Packagist](https://packagist.org/packages/redpanda/hashids-service-provider)[ RSS](/packages/redpanda-hashids-service-provider/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

HashidsServiceProvider
======================

[](#hashidsserviceprovider)

[![Build Status](https://camo.githubusercontent.com/c3fb86b80847d431e78a219857d8a9c3eaf3c5525c100fe2ae499876d0ccd41e/68747470733a2f2f7472617669732d63692e6f72672f72656470616e64612f486173686964735365727669636550726f76696465722e706e67)](https://travis-ci.org/redpanda/HashidsServiceProvider)

Usage
-----

[](#usage)

```
use Redpanda\Silex\Provider\HashidsServiceProvider;
use Silex\Application;
use Symfony\Component\HttpFoundation\Request;

$app = new Application();

$app->register(new HashidsServiceProvider(), array(
    'hashids.options' => array(
        'post' => array(
            'salt' => 'mySalt',
            'min_hash_length' => 5,
            'alphabet' => ''
        )
    )
));

// encrypt
$hash = $app['hashids']['post']->encrypt(1,2,3);

// decrypt
$numbers = $app['hashids']['post']->decrypt($hash);
```

\##License

MIT License

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

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/52ae90deaf2bc755db4ce5ae5c3c7679d0f31f555dcc7858b18dfe8b77b3311c?d=identicon)[redpanda](/maintainers/redpanda)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/redpanda-hashids-service-provider/health.svg)

```
[![Health](https://phpackages.com/badges/redpanda-hashids-service-provider/health.svg)](https://phpackages.com/packages/redpanda-hashids-service-provider)
```

###  Alternatives

[datatables.net/datatables.net-datetime

DateTime picker for DataTables.net

112.3k](/packages/datatablesnet-datatablesnet-datetime)

PHPackages © 2026

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