Skip to content

CapMonsterCloud/client-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✅ CapMonster.Cloud — Fast, Reliable CAPTCHA Solving for Automation & Scraping

CapMonster Cloud

CapMonster Cloud PHP client

Official PHP SDK for the CapMonster Cloud API.

Links

💵 Want to test before depositing? Contact support and we’ll add trial credits to your account.

Minimal example

    include './client/Client.php';
    include './client/src/captcha/ImageToText.php';
    include './client/src/captcha/RecaptchaV2.php';
    $client = new Client("your_client_key");

    //solve image captcha
    $body = "base64_captcha_image";
    $imageRequest = new ImageToTextRequest($body);
    $imageResult = $client->solve($imageRequest);
    
    //solve Recaptcha 2 (without proxy)
    $websiteURL = "https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high";
    $websiteKey = "6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd";
    $recaptchaV2Request = new RecaptchaV2Request($websiteURL, $websiteKey);
    $recaptchaV2Result = $client->solve($recaptchaV2Request);
    

Supported task families include reCAPTCHA, GeeTest, image-to-text, and additional task types documented in the public docs.

Response format

The result of the solve method always contains two fields: bool result, a request success indicator, and a mixed message field containing a text description of the error or an object of a successful response from the server.

Supported request classes

⭐️ If you find this project useful, please give it a star on GitHub!

About

Official PHP SDK for the CapMonster Cloud API. Solve reCAPTCHA, GeeTest, Turnstile, image-to-text, and other captcha types from PHP applications. Unified solve() method returns result and message fields.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages