Registry / auth / symfony-password-hasher

symfony-password-hasher

JSON →
library8.1.0phppackagistunverified

Provides password hashing utilities for secure password storage.

composer require symfony/password-hasher
INSTALL
IMPORT
SIG · SYMFONY-PASSWORD-H
S
symfony-password-hasher
authphpv8.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PasswordHasherFactory
use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory;

Hash a password using the auto algorithm.

use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory; $factory = new PasswordHasherFactory(['auto' => ['algorithm' => 'auto']]); $hasher = $factory->getPasswordHasher('auto'); $hash = $hasher->hash('password123');
Debug
Known issues
breakingRequires PHP 8.1+ and the sodium extension for best algorithms.
fix
Ensure PHP 8.1+ and ext-sodium are installed.
affects: >=8.1
Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
20
Resources
symfony-password-hasher — pip install symfony-password-hasher · libregistry