PHPackages                             vdlp/oc-hashids-plugin - 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. [Security](/categories/security)
4. /
5. vdlp/oc-hashids-plugin

ActiveOctober-plugin[Security](/categories/security)

vdlp/oc-hashids-plugin
======================

Allows developers to use secure hashed ID's in October CMS powered websites.

2.2.0(3y ago)420.0k↓37.5%GPL-2.0-onlyPHPPHP ^8.0.2

Since Jan 18Pushed 2y ago8 watchersCompare

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

READMEChangelog (4)Dependencies (3)Versions (9)Used By (0)

 [![](https://camo.githubusercontent.com/c716b84d3621062982cef160eba49c9de0388af1086bfe6858f617871f908d54/68747470733a2f2f706c7567696e732e76646c702e6e6c2f6f63746f626572636d732f69636f6e732f56646c702e486173686964732e737667)](https://camo.githubusercontent.com/c716b84d3621062982cef160eba49c9de0388af1086bfe6858f617871f908d54/68747470733a2f2f706c7567696e732e76646c702e6e6c2f6f63746f626572636d732f69636f6e732f56646c702e486173686964732e737667)

Vdlp.Hashids
============

[](#vdlphashids)

 *Allows developers to use secure hashed ID's.*

 [![](https://camo.githubusercontent.com/889089e15c9c5c66c9680480a38ff5ae2bc122528c1200719b6c354bb481b5a8/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f76646c702f6f632d686173686964732d706c7567696e)](https://camo.githubusercontent.com/889089e15c9c5c66c9680480a38ff5ae2bc122528c1200719b6c354bb481b5a8/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f76646c702f6f632d686173686964732d706c7567696e) [![](https://camo.githubusercontent.com/1f31d0153b43281a5e76bef992717713c781d56dfbcfd541e85d180e51f0da67/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f76646c702f6f632d686173686964732d706c7567696e)](https://camo.githubusercontent.com/1f31d0153b43281a5e76bef992717713c781d56dfbcfd541e85d180e51f0da67/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f76646c702f6f632d686173686964732d706c7567696e) [![](https://camo.githubusercontent.com/4aac131fe9c1d4069b7dcd310ddc45f268c6aabca5bbf9d1357d5092539ca2b8/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f76646c702f6f632d686173686964732d706c7567696e2f6c6174657374)](https://camo.githubusercontent.com/4aac131fe9c1d4069b7dcd310ddc45f268c6aabca5bbf9d1357d5092539ca2b8/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f76646c702f6f632d686173686964732d706c7567696e2f6c6174657374) [![](https://camo.githubusercontent.com/5457e68a1051820661648bd93ffaf69f8ab513920dd19c261ff3ac5a646d0ed2/68747470733a2f2f62616467656e2e6e65742f62616467652f636d732f4f63746f626572253230434d53)](https://camo.githubusercontent.com/5457e68a1051820661648bd93ffaf69f8ab513920dd19c261ff3ac5a646d0ed2/68747470733a2f2f62616467656e2e6e65742f62616467652f636d732f4f63746f626572253230434d53) [![](https://camo.githubusercontent.com/8ef1333110cedb8be792e165e201c69d776d92c196b7a26938e50ad4ddfb0f84/68747470733a2f2f62616467656e2e6e65742f62616467652f747970652f706c7567696e)](https://camo.githubusercontent.com/8ef1333110cedb8be792e165e201c69d776d92c196b7a26938e50ad4ddfb0f84/68747470733a2f2f62616467656e2e6e65742f62616467652f747970652f706c7567696e) [![](https://camo.githubusercontent.com/1f114169a99553434d21de1b19ab6251b32d1f0d804e2f6e46888722d07e9a35/68747470733a2f2f706c7567696e732e76646c702e6e6c2f6f63746f626572636d732f62616467652f696e7374616c6c6174696f6e732e7068703f706c7567696e3d76646c702d68617368696473)](https://camo.githubusercontent.com/1f114169a99553434d21de1b19ab6251b32d1f0d804e2f6e46888722d07e9a35/68747470733a2f2f706c7567696e732e76646c702e6e6c2f6f63746f626572636d732f62616467652f696e7374616c6c6174696f6e732e7068703f706c7567696e3d76646c702d68617368696473)

Fetches RSS/Atom feeds to put on your website. It can be automated using a cronjob or triggered manually.

It converts numbers like 347 into strings like "yr8", or array of numbers like \[27, 986\] into "3kTMd".

You can also decode those ids back. This is useful in bundling several parameters into one or simply using them as short UIDs.

Requirements
------------

[](#requirements)

- PHP 8.0.2 or higher
- October CMS 2.x or higher

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

[](#installation)

```
composer require vdlp/oc-hashids-plugin

```

Configuration
-------------

[](#configuration)

To configure this plugin execute the following command:

```
php artisan vendor:publish --provider="Vdlp\Hashids\ServiceProvider" --tag="config"

```

This will create a `config/hashids.php` file in your app where you can modify the configuration.

Example
-------

[](#example)

Here you can see an example of how to use this plugin. Out of the box, the default configuration used is `main`.

```
// You can use this class with Dependency Injection
use Vdlp\Hashids\Classes\HashidsManager;

/** @var HashidsManager $hashids */
$hashidsManager = resolve(HashidsManager::class);

// Encodes the integer 1 to a hashid using the default configuration
$hashidsManager->encode(1);
$hashidsManager->instance()->encode(1);

// Encodes the integer 1 to a hashid using a different configuration
$hashidsManager->instance('different-configuration')->encode(1);

```

Questions? Need help?
---------------------

[](#questions-need-help)

If you have any question about how to use this plugin, please don't hesitate to contact us at . We're happy to help you. You can also visit the support forum and drop your questions/issues there.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 81.1% 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 ~235 days

Total

7

Last Release

1267d ago

Major Versions

1.1.0 → 2.0.02020-09-01

PHP version history (5 changes)1.0.1PHP &gt;=7.1

2.0.0PHP ^7.2

2.0.1PHP ^7.2||^8.0

2.1.0PHP ^7.4 || ^8.0

2.2.0PHP ^8.0.2

### Community

Maintainers

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

---

Top Contributors

[![adrenth](https://avatars.githubusercontent.com/u/5699988?v=4)](https://github.com/adrenth "adrenth (30 commits)")[![nathan-van-der-werf](https://avatars.githubusercontent.com/u/1123054?v=4)](https://github.com/nathan-van-der-werf "nathan-van-der-werf (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

hashidshashinglaraveloctober-cmsoctobercmsoctobercms-pluginphpsecurity

### Embed Badge

![Health badge](/badges/vdlp-oc-hashids-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/vdlp-oc-hashids-plugin/health.svg)](https://phpackages.com/packages/vdlp-oc-hashids-plugin)
```

###  Alternatives

[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[offline/oc-boxes-free-plugin

Visual Page Builder for October CMS

132.6k](/packages/offline-oc-boxes-free-plugin)

PHPackages © 2026

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