libsodium requirement issue #784
-
Hello Community, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Libsodium is supposed to be bundled with PHP since 7.2, so you have to fix the issue with whatever your PHP provider has done to make it a problem.
The extension provides modern cryptographic functions and is essential to this library.
--
Viele Grüße
Sven Rautenberg
|
Beta Was this translation helpful? Give feedback.
-
@sarfarazsavvy you can use composer's The recommended approach is to have the extension installed (that depends on the OS you have). |
Beta Was this translation helpful? Give feedback.
-
@lcobucci - does https://github.com/lcobucci/jwt/blob/4.2.x/src/SodiumBase64Polyfill.php not polyfill sodium? Is it necessary as a requirement? |
Beta Was this translation helpful? Give feedback.
@sarfarazsavvy you can use composer's
--ignore-platform-req=ext-sodium
(https://getcomposer.org/doc/03-cli.md#install-i) and check if you can run things but you'd essentially be on your own.The recommended approach is to have the extension installed (that depends on the OS you have).