gladyshev/anticaptcha-client
Composer 安装命令:
composer require gladyshev/anticaptcha-client
包简介
Modern, convenient and full featured anti-captcha.com client library.
README 文档
README
Powerful and easy anti-captcha.com API wrapper.
Install
$ composer require gladyshev/anticaptcha-client
or
"require": { ... "gladyshev/anticaptcha-client": "^2.0" ... }
Examples
More examples in examples folder.
$configuration = new \Anticaptcha\Configuration( getenv('__ANTICAPTCHA_KEY__') ); // PSR-18 HTTP-client $httpClient = new \GuzzleHttp\Client(); $client = new \Anticaptcha\Client( $configuration, $httpClient ); $result = $client->resolveImage(__DIR__.'/data/captcha.png'); var_dump($result->solution); /* array(2) { ["text"]=> string(14) "замочка" ["url"]=> string(43) "http://69.39.235.18/510/164683106482493.gif" } */
The library strictly follows the API documentation, so full features can be found by looking at the official documentation of the service.
统计信息
- 总下载量: 4.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-10