shetabit/token-builder
Shetabit Token Builder is a Laravel package for generating unique, customizable tokens and attaching them to Eloquent models. Configure character sets, length, prefixes, and uniqueness rules to create API keys, activation codes, or reference strings with simple, fluent methods.
Consider it when:
Look elsewhere when:
For executives: This package can accelerate delivery of token-based product features—API keys, expiring links, verification flows, and account-security screens—without building token lifecycle plumbing from scratch. The v4.0.0 release improves model-scoped token visibility, which unlocks “active tokens/sessions” management and support tooling. The trade-off is dependency and security-review risk; token handling is security-sensitive, so adoption should be paired with engineering review and clear ownership.
For engineering: v4.0.0 adds a valid-token lookup capability for a model without knowing the token value. That is useful for revocation UIs, cleanup jobs, and administrative tooling, but it must be access-controlled carefully because it exposes metadata about valid tokens. Since this is a major release, confirm breaking changes from the full changelog and test upgrade paths. Evaluate how tokens are stored, whether secrets are hashed, how validity/expiration is enforced, and whether the package’s scope matches our auth and API-token requirements.
How can I help you explore Laravel packages today?