PHP captcha solver
Solve and bypass Google reCAPTCHA, Image CAPTCHA, Arkose FunCaptcha, Cloudflare Turnstile, Cloudflare Challenge and any captcha with PHP captcha solver.
- No risk. Pay only for solved captchas
- Fastest human-based PHP captcha solving service
How to automate solve and bypass any captcha with PHP
-
You send a captcha to the PHP captcha solver.
-
The server stores your captcha and returns the ID of your request.
-
The service completes the captcha solution and sends the answer back to the server.
-
You send a request to the server using the ID to retrieve the answer.
Installation
The script package can be installed using the package installer or manually
Composer
To automatically install a package of libraries, you need to use the standard solution for PHP packages - Composer. Download it from the link and install according to the instructions. After installing the application, use the command:
composer require solvecaptcha/solvecaptcha
Manual
Clone it Manually:
git clone https://github.com/solvercaptcha/solvecaptcha-php.git
Copy src directory to your project and then require autoloader src/autoloader.php where needed:
require 'path/to/solvecaptcha-php/src/autoloader.php';
We invite you to explore our GitHub repository where you can find libraries and SDK for easy integration with our API.
Configuration
Description of all the necessary parameters to configure the installed package
An instance of the SolveCaptcha class can be created like this:
$solver = new \SolveCaptcha\SolveCaptcha('YOUR_API_KEY');
You also have the ability to customize some of the options for the created instance:
$solver = new \SolveCaptcha\SolveCaptcha([ 'server' => 'https://solvecaptcha.com', 'apiKey' => 'YOUR_API_KEY', 'defaultTimeout' => 120, 'recaptchaTimeout' => 600, 'pollingInterval' => 10, 'json' => 1, ]);
SolveCaptcha instance options
| Option | Default value | Description |
|---|---|---|
| defaultTimeout | 120 | Polling timeout in seconds for all captcha types except reCAPTCHA. Defines how long the SDK tries to get the answer from res.php API endpoint |
| recaptchaTimeout | 600 | Polling timeout for reCAPTCHA in seconds. Defines how long the SDK tries to get the answer from res.php API endpoint |
| pollingInterval | 10 | Interval in seconds between requests to res.php API endpoint, setting values less than 5 seconds is not recommended |
| json | 0 | Json or String format response from res.php API endpoint, json = 1 returns JSON format response |
Solve captcha
When you submit any image-based captcha use can provide additional options to help solvecaptcha workers to solve it properly
Captcha options
| Option | Default value | Description |
|---|---|---|
| numeric | 0 | Defines if captcha contains numeric or other symbols. See more info in the API docs |
| minLength | 0 | minimal answer length |
| maxLength | 0 | maximum answer length |
| phrase | 0 | defines if the answer contains multiple words or not |
| caseSensitive | 0 | defines if the answer is case sensitive |
| calc | 0 | defines captcha requires calculation |
| hintImg | - | an image with hint shown to workers with the captcha |
| hintText | - | hint or task text shown to workers with the captcha |
To bypass a normal captcha (distorted text on image) use the following method. This method also can be used to recognize any text on the image.
$result = $solver->normal('path/to/captcha.jpg');
-
Best captcha solving service
Service is ranked among the best captcha solving service, according to independent analytics by CaptchaTheCat website.
-
Fast captcha solver
Service is incredibly fast captcha solver, thanks to its integration of machine learning (ML) technology.
-
Cheapest captcha solver
Service is cheapest due to the use of machine learning (ML) technology, which automates CAPTCHA solving at scale, reducing the need for manual labor and allowing us to offer lower prices without sacrificing quality.
Use cases
Bypassing captcha enables to automate captcha solving interactions and is used to optimize tasks such as automated testing, web scraping, accessibility, and improving security.
-
Accesability
-
Cybersecurity
-
Automated testing
-
Scarping
Captcha solver API
The API documentation contains examples of requests and responses. For the convenience of using the service, we have published libraries on GitHub for programming languages: Python, Java, C#, C++, Javascript, Ruby, PHP, and Go. We have also developed code examples for automatically solving reCAPTCHAs using tools like Selenium and Puppeteer.
Captcha solver API