Simple wrapper around the PHP API