Ross ROSS = Recommend OSS · open-source software intelligence for agents

jenssegers/optimus

🤖 Id obfuscation based on Knuth's multiplicative hashing method for PHP. observed · 2026-08-28

github.com/jenssegers/optimus · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4140
  • days_rel: n/a
  • days_push: 889
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1275 stars · 75 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PHP library that obfuscates internal integer IDs using Knuth's multiplicative hashing, producing reversible obfuscated integers instead of random strings. It includes a CLI 'spark' command to generate the required prime, inverse, and random key values, and integrates easily with Laravel.

Use cases

  • hide sequential database ids in urls
  • obfuscate integer primary keys in an api
  • reversible id obfuscation in php
  • alternative to hashids that returns integers
  • generate optimus prime and inverse keys
  • prevent enumeration of resource ids in laravel

When to choose

  • you need fast, reversible integer id obfuscation in PHP
  • you want numeric obfuscated ids rather than random strings
  • you use Laravel and want a shared Optimus instance via a service provider

When to avoid

  • you need cryptographically secure encryption of ids
  • you need string-based short hashes like Hashids
  • your application is not written in PHP

Facets

library · maturity stable

cryptography serialization developer-tools web-development security developer-tools apis php cli id-obfuscation knuth-hash laravel integer-encoding hashids-alternative

5 sources

Member repositories

RepositoryRoleHealth v2
jenssegers/optimusmain23

For agents

markdown · JSON · MCP: product_card(name="jenssegers/optimus")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem