- 数美SDK FOR PHP
- 集成数美常用接口【陆续更新中】
- 调用简单,统一原样返回
- 1.0.0 增加文字识别接口
运行环境要求PHP7.1+。
$ composer require cccdl/shumei_sdk
文件 | 方法 | 说明 |
---|---|---|
Text.php | discern() |
文字识别 |
在您开始之前,您需要注册数美并获取您的凭证。
<?php
use cccdl\shumei_sdk\Im\User;
$text = (new Text($appKey, $appSecrt))->setRegion('sh')->discern();
$res = $text->('100001');
提交 Issue,不符合指南的问题可能会立即关闭。
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
MIT