easyid/easyid-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

easyid/easyid-php

最新稳定版本:v1.0.1

Composer 安装命令:

composer require easyid/easyid-php

包简介

Official PHP SDK for the EasyID identity verification API.

README 文档

README

Official PHP SDK for the EasyID identity verification API.

EasyID 易验云 focuses on identity verification and security risk control APIs, including real-name verification, liveness detection, face recognition, phone verification, and fraud-risk related capabilities.

中文文档: README.zh-CN.md

Install

composer require easyid/easyid-php

Quick Start

<?php

use EasyID\EasyID;
use EasyID\APIError;

$client = new EasyID('ak_xxx', 'sk_xxx');

try {
    $result = $client->idcard->verify2('张三', '110101199001011234');
    var_dump($result->match);
} catch (APIError $error) {
    var_dump($error->codeValue, $error->requestId);
}

Supported APIs

  • IDCard: verify2, verify3, ocr
  • Phone: status, verify3
  • Face: liveness, compare, verify
  • Bank: verify4
  • Risk: score, storeFingerprint
  • Billing: balance, records

Configuration

  • base_url
  • timeout
  • http_client

Security Notice

This is a server-side SDK. Do not expose secret in browsers or mobile apps.

Official Resources

  • Official website: https://www.easyid.com.cn/
  • GitHub organization: https://github.com/easyid-com-cn/

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-01