netbull/hashids-bundle
A Symfony bundle that wraps Hashids to turn integer IDs into short, unique, non-sequential hashes, so you can hide database IDs in URLs. Provides container integration and configuration for encoding and decoding IDs through a simple service.
/orders/1042) or opaque (/orders/x7Kp2m). This package is a thin Symfony integration of the hashids/hashids library, so it informs the "do we expose raw auto-increment IDs?" decision.hashids/hashids library directly, (b) migrate to sqids/sqids (the maintained successor), or (c) write a 30-line encoder in-house. This bundle adds almost no product value over the base library.netbull/hashids-bundle). It is not Laravel-native (no service provider, no config publishing convention). For a Laravel codebase, treating it as a candidate would be a category error.Only if all of the following are true:
Look elsewhere — strongly — if any of these apply:
hashids/hashids directly or, better, sqids/sqids behind a small service class. There is no reason to pull in a Symfony bundle.URL::signedRoute in Laravel) or UUIDv7/ULID for that.For executives (one line): "A small utility for making sequential IDs in URLs harder to guess — but the specific package is an unproven Symfony-only wrapper under a restrictive AGPL license, so I recommend we implement this in-house using a maintained library rather than adopt it."
For engineering:
IdObfuscator service backed by Sqids (maintained successor to Hashids) or, if signed/tamper-proof IDs are needed, use framework-native signed URLs. This removes the AGPL exposure, the Symfony/Laravel mismatch, and the single-maintainer risk in one decision.hashids/hashids directly (well-known, widely used) and skip the wrapper entirely — it's a configuration convenience at best.Net recommendation: Pass on adopting netbull/hashids-bundle. Reuse the decision it represents (obfuscate public IDs) but source it from a maintained library under a permissive license, integrated natively for your framework.
How can I help you explore Laravel packages today?