gollumsf/url-tokenizer-bundle
A Symfony bundle for URL tokenization that integrates tokenizer functionality into your app, helping parse and split URLs into usable tokens for analysis, routing, or custom processing. Lightweight and easy to wire into existing Symfony projects.
Consider it only if all of the following hold:
Look elsewhere — or build in-house — when:
URL::signedRoute() / temporarySignedRoute() with HMAC validation and expiry. That is the correct answer for magic links, unsubscribe links, and share links, and it costs zero dependencies.encrypt()/Hash::make, random_bytes + a hashed DB lookup, or a maintained JWT/PASETO library.Recommendation: do not adopt. This is not a "small dependency" — it's an unmaintained, single-maintainer, GPL-3.0 Symfony bundle with no downstream users, being evaluated for a Laravel codebase. Three independent disqualifiers (license, framework mismatch, maintenance risk) each sufficient on their own.
For executives: URL tokenization looks like a commodity feature, and it is. We gain no differentiation and take on legal and maintenance exposure by importing it. The equivalent capability is already in the framework we pay for — signed, expiring URLs are a first-class Laravel feature. Decision: build the small piece we need internally, keep the license clean, and keep the security review in our own hands.
For engineering: Don't integrate this. Use URL::temporarySignedRoute() for anything user-facing that must be tamper-proof and expiring; use a random opaque token plus a hashed DB column where you need revocation and audit. If a specific "tokenize a URL into a short identifier" need emerges, that's a small, self-contained utility we can write and test in an afternoon — and it stays permissively licensed and within our support boundary. If anyone has already prototyped against this bundle, flag it now so we can size the removal.
For legal/procurement: GPL-3.0 in a distributed product obligates us to release source for the combined work. Even where our deployment model avoids distribution, the license will fail most standard dependency reviews and cost more to adjudicate than the feature is worth.
How can I help you explore Laravel packages today?