And it's available for PHP:
And Javascript:
And Python:
https://github.com/pyca/pynacl
This is one of my projects using these libraries, a PGP replacement based entirely on the NaCl API:
I used that in a project and found that the Java and the Javascript implementations I was using did things slightly differently, so I had to modify the Java version to behave like the Javascript version.
Simpler than Openssl or whatever, but still not ideal.
[1] https://cr.yp.to/talks/2012.08.08/slides.pdf