Factsheet
Videos
UPDATE (2024-04-19)
https://github.com/paragonie/sodium_compat/pull/171 -- We've decided to go ahead with a new major version. The original comment is below the line.
We maintain polyfill libraries (random_compat and sodium_compat, which many of you use as a recursive dependency).
Both tentatively support PHP 5.2.4 through the current version (8.4 is coming later this year). This minimum version was specified to ensure our libraries could be used by projects like WordPress.
WordPress requires PHP 7 today.
Does anyone still require support for PHP 5 today? If so, please let us know.
Otherwise, we plan on releasing a new major version for sodium_compat that cuts off support for PHP 5, and sunsetting random_compat (since it's pointless in PHP 7+).
We're aware of Packagist statistics, etc. but that doesn't speak much to the long tail of unpopular projects that haven't made the transfer (esp. if they use an Enterprise OS that backports patches until the heat death of the universe).
We have, previously, explored what a 2.x version of the library may look like. Just using scalar type declarations cut down a lot of the code size.