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

Phpass Laravel Package

hautelook/phpass

Modernized, namespaced Composer-ready fork of Openwall Phpass (0.3) with minimal stylistic changes and unit tests. Provides PasswordHash to generate and verify password hashes for legacy systems; public domain source.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Security Compliance: Enables adherence to modern password hashing standards (bcrypt-based) for user authentication systems, reducing risk of credential leaks.
  • Legacy System Modernization: Allows migration of older PHP applications using deprecated password hashing methods (e.g., MD5, SHA1) to a secure, maintained alternative.
  • Build vs. Buy: Avoids reinventing password hashing logic, saving development time while ensuring cryptographic robustness.
  • Roadmap Alignment: Supports future-proofing authentication flows for features like:
    • Multi-factor authentication (MFA) backends.
    • Passwordless login systems (where hashing remains critical for verification tokens).
    • Compliance with regulations like GDPR (data protection) or PCI DSS (payment security).

When to Consider This Package

  • Adopt if:

    • Your PHP application requires bcrypt-based password hashing (e.g., for user accounts, admin panels, or third-party integrations).
    • You’re migrating from weak hashing algorithms (e.g., MD5, SHA1, or plaintext storage) to a secure standard.
    • Your team lacks cryptographic expertise but needs a battle-tested, minimalist solution with no dependencies.
    • You’re using Laravel and want to integrate with Laravel’s built-in Hash facade (this package is compatible via Hash::make()).
  • Look elsewhere if:

    • You need Argon2 support (consider php-argon2 or Laravel’s native Hash with PASSWORD_ARGON2I).
    • Your project requires customizable hashing parameters (e.g., cost factors beyond bcrypt’s default).
    • You’re using PHP 8.2+ and need native password hashing (Laravel’s Hash facade already handles this seamlessly).
    • Your team prefers active maintenance (this fork is unmaintained; consider ircmaxell/Password-Compatible or Laravel’s core utilities).

How to Pitch It (Stakeholders)

For Executives: "This lightweight PHP package modernizes Openwall’s Phpass—a proven, cryptographically secure way to hash passwords—with zero maintenance overhead. By adopting it, we eliminate risks from weak hashing (e.g., MD5 breaches) while saving dev time. It’s a drop-in solution for authentication systems, aligning with security best practices at minimal cost."

For Engineering: *"Pros:

  • Bcrypt-based: Meets OWASP and modern security standards.
  • Laravel-compatible: Works with Hash::make() if wrapped in a service.
  • No dependencies: Pure PHP, easy to audit.
  • PHP 8.1+ fixes: Patched for deprecated warnings.

Cons:

  • Unmaintained fork: Use cautiously; prefer Laravel’s Hash if possible.
  • Limited features: No Argon2 or adaptive cost factors.

Recommendation: Use for legacy systems or non-Laravel projects where bcrypt is required. For new Laravel apps, leverage the framework’s built-in Hash facade instead."*

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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky