Ripple library for PHP