Skip to content

Latest commit

 

History

History
156 lines (106 loc) · 3.6 KB

README.md

File metadata and controls

156 lines (106 loc) · 3.6 KB

MetaBypass ( AI Captcha Solver )

PHP class to work with MetaBypass services

Free demo (no credit card required) -> https://app.metabypass.tech/application


Features

Solve image captcha , reCAPTCHA v2 & v3 & invisible reCAPTCHA
Auto handler for reCaptcha v2
Simple syntax
Error logger



Install via composer

Go to your project root directory and run this command in terminal:


composer require metabypass/php


Usage


Image Captcha

<?php

use Metabypass\Metabypass;

require 'vendor/autoload.php';


//---------------------- CONFIGURATION ---------------------------

//get your credentials from https://app.metabypass.tech/application
$clientId='YOUR_CLIENT_ID';
$clientSecret='YOUR_CLIENT_SECRET';
$email='YOUR_EMAIL';
$password='YOUR_PASSWORD';

//metabypass instance
$metabypass=new Metabypass($clientId,$clientSecret,$email,$password);


//-------------------- IMAGE CAPTCHA SOLVER ---------------------------

// you can pass base64 encoded image file or path of image file
//$image='base64_encoded_image';
$image='./samples/icaptcha2.png';
//you can pass some optional params too. more details: https://app.metabypass.tech/docs.html?#api_3
$numeric=0; //default
$minLen=0;  //default
$maxLen=0;  //default

$server_response=$metabypass->imageCaptcha($image,$numeric,$minLen,$maxLen); //complete response in an object
var_dump($metabypass->imageCaptcha_result); //end result



reCAPTCHA v2

<?php

use Metabypass\Metabypass;

require 'vendor/autoload.php';

//---------------------- CONFIGURATION ---------------------------

//get your credentials from https://app.metabypass.tech/application
$clientId='YOUR_CLIENT_ID';
$clientSecret='YOUR_CLIENT_SECRET';
$email='YOUR_EMAIL';
$password='YOUR_PASSWORD';

//metabypass instance
$metabypass=new Metabypass($clientId,$clientSecret,$email,$password);

//-------------------- reCAPTCHA v2 ---------------------------
$url='SITE_URL';
$siteKey='SITE_KEY';
$server_response=$metabypass->reCaptchaV2Handler($url,$siteKey); //complete response in an object
var_dump($metabypass->reCaptchaV2_result); //end result



reCAPTCHA v3

<?php

use Metabypass\Metabypass;

require 'vendor/autoload.php';

//---------------------- CONFIGURATION ---------------------------

//get your credentials from https://app.metabypass.tech/application
$clientId='YOUR_CLIENT_ID';
$clientSecret='YOUR_CLIENT_SECRET';
$email='YOUR_EMAIL';
$password='YOUR_PASSWORD';

//metabypass instance
$metabypass=new Metabypass($clientId,$clientSecret,$email,$password);


//-------------------- reCAPTCHA v3 ---------------------------
$url='SITE_URL';
$siteKey='SITE_KEY';
$response=$metabypass->reCaptchaV3($url,$siteKey); //complete response in an object
var_dump($metabypass->reCaptchaV3_result); //end result



reCAPTCHA invisible

<?php

use Metabypass\Metabypass;

require 'vendor/autoload.php';

//---------------------- CONFIGURATION ---------------------------

//get your credentials from https://app.metabypass.tech/application
$clientId='YOUR_CLIENT_ID';
$clientSecret='YOUR_CLIENT_SECRET';
$email='YOUR_EMAIL';
$password='YOUR_PASSWORD';

//metabypass instance
$metabypass=new Metabypass($clientId,$clientSecret,$email,$password);


//-------------------- reCAPTCHA Invisible ---------------------------
$url='SITE_URL';
$siteKey='SITE_KEY';
$response=$metabypass->reCaptchaInvisible($url,$siteKey); //complete response in an object
var_dump($metabypass->reCaptchaInvisible_result); //end result