-
Open the project directory:
cd path/to/solvecaptcha-php
-
Make sure dependencies are installed:
composer install
-
Run any example file using PHP:
php examples/recaptcha_v2.php
Replace
recaptcha.php
with the name of the example you want to run.📝 Most examples require a valid API key. You can set it like this:
$solver = new \SolveCaptcha\SolveCaptcha('YOUR_API_KEY');
or in some files:
$apiKey = 'YOUR_API_KEY';
🔐 Don’t forget to replace
'YOUR_API_KEY'
with your actual SolveCaptcha API key.
examples
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||