定制 gladyshev/anticaptcha-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

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.

Build Status Scrutinizer Code Quality Code Coverage

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固