marko/hashing
A secure hashing package for Marko/Laravel PHP apps, offering a driver-based manager for bcrypt, argon2, and other algorithms. Easily hash and verify passwords, generate secure hashes, and swap drivers via simple configuration.
password_hash.Consider it when all of the following hold:
[READ-ONLY] prefix and the pointer to the monorepo — this is a split repository, so issues, PRs, and roadmaps live upstream. Using it standalone means owning that coordination cost yourself.Look elsewhere when:
password_hash/password_verify directly, or your framework's native facility (Laravel's Hash facade, Symfony's PasswordHasher). Adopting a framework-specific split package for a language primitive is pure overhead.For executives: This is a small, MIT-licensed security component that handles how we store user passwords. It costs nothing to license and does not differentiate the product — its only job is to not be the reason we end up in a breach report. The strategic question is not "should we use this package" but "are we standardized on Marko," because that decision carries this dependency with it. My recommendation is to treat it as a default-accept if we are on Marko, and a non-issue otherwise; we should not spend roadmap capacity on it beyond a documented decision.
For engineering: This gives us one canonical place for password hashing and verification instead of scattered password_hash calls with drifting cost factors and algorithms. Integration is trivial and the code is small enough to audit in a single sitting. Two caveats to plan around: it is a read-only split of the Marko monorepo, so all contribution and issue traffic goes upstream — budget accordingly if we need a change; and it has zero public dependents, meaning we are early. Mitigate by pinning the version, adding it to our dependency-review list, and wrapping it behind our own interface so swapping to native PHP or another framework's hasher later is a one-file change, not a migration. Do not extend it in place; extend the interface.
How can I help you explore Laravel packages today?