If you're confident you don't need our sodium polyfill in your project, by all means, use ext-sodium instead.

But if you're writing a package other people use, tread carefully.

https://old.reddit.com/r/PHP/comments/1sbceco/dependency_hygiene/oe38qpv/

Not directly relevant:

We're currently cooking up a PHP extension (with a separate, pure-PHP polyfill for users that cannot install extensions).

The adoption and migration pains that PHP users experience are something we take very seriously.

If you'd like to hear more, tune in later this month.