kield-01/anticaptcha-composer
最新稳定版本:v1.2
Composer 安装命令:
composer require kield-01/anticaptcha-composer
包简介
Captcha solver, provided by anti-captcha.com and remade by me for composer users
README 文档
README
You can install this package via composer:
composer require kield-01/anticaptcha-composer
Important Notes
For now, this package is on testing
Example
<?php
namespace AntiCaptcha;
use AntiCaptcha\ImageToText;
$_img_to_text = new ImageToText();
$_img_to_text->setKey('anticaptcha_key');
$_img_to_text->setFile(WWW_ROOT . 'capcha.jpg');
$_task = 0;
$_result = 0;
while (!$_img_to_text->createTask()) {
$_img_to_text->createTask();
}
$_task = $_img_to_text->getTaskId();
while (!$_img_to_text->waitForResult()) {
$_img_to_text->waitForResult();
}
$_result = $_img_to_text->getTaskSolution();
dump("TaskID : {$_task} : {$_result}");
统计信息
- 总下载量: 887
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL
- 更新时间: 2017-05-25