code: public static function publicKeyFromWIF($wif, $verify_address=null) {
          $private_key_instance = PrivateKeyFactory::fromWif($wif);
          $public_key_instance = $private_key_instance->getPublicKey();
          return $public_key_instance->getHex();
      }
docs: //////////////////////////////////////////////////////////////////////