Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hashids Laravel Package

vinkla/hashids

Laravel bridge for Hashids: encode integers into short, non-sequential strings and decode them back. Supports multiple connections via config, includes a facade and manager for dependency injection, and integrates cleanly with typical Laravel workflows.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit is strong for Laravel projects due to native service provider registration, facade support, and config-driven connections. However, the README explicitly states "the API is so simple that you don't need a Laravel package at all," indicating significant redundancy. Integration feasibility is high via Composer and artisan commands, but the package adds unnecessary abstraction over direct Hashids usage. Technical risks include: 1) Package maintenance status (last release 2019-08-28, 0 Packagist dependents), 2) Alignment with Hashids' official deprecation notice toward Sqids (per README note), and 3) Lack of PHP 8.2+/Laravel 12+ compatibility testing. Key questions: Why choose this over direct Hashids implementation? How does this package compare to Sqids for new projects? Is the maintainer actively supporting Hashids given Sqids' existence?

Integration Approach

Stack fit is ideal for Laravel 12+ applications with minimal configuration overhead (publish config, set connection details), but the package adds no meaningful value over direct Hashids usage. Migration path is trivial for existing Laravel projects (composer require + facade usage), but migrating from direct Hashids would be unnecessary work. Compatibility is limited to legacy PHP/Laravel versions (PHP 7.1+ / Laravel 5.5-6.0), with no evidence of testing for modern stacks. Sequencing should be avoided entirely for new projects; if absolutely required, implement during initial setup but immediately evaluate migration to Sqids.

Operational Impact

Maintenance burden is high due to inactive maintenance (no updates since 2019) and lack of community support (0 dependents). Support would require internal expertise to fix issues, as upstream Hashids is deprecated. Scaling is not impacted (single-threaded encoding/decoding), but failure modes include silent errors from outdated dependencies and incompatibility with modern Laravel features. Ramp-up is low for developers familiar with Hashids, but the package introduces unnecessary complexity (config management, connection switching) compared to direct usage. Strongly recommend replacing with Sqids for all new projects to avoid technical debt.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport