Installation

There is no installation needed to use these functions; they are part of the PHP core.

To enable Argon2 password hashing, however, PHP must be built with libargon2 support using the --with-password-argon2 configure option.

Prior to PHP 8.1.0, it was possible to specify the argon2 directory with --with-password-argon2[=DIR].