0800 999 999 7 info@cybersiara.com

CyberSiara™ | Integration

How to install SiaraShield

Choose your website technology, You will get the integration guidelines step by step.


Javascript

WordPress

Vue.js

Angular

Java

PHP

.Net

Laravel

Drupal

Nuxt.js

Backend Integration Guideline

Laravel Integration Guideline

1. Go to Resources >Views folder where your site is hosted in your server.

2. Open .php in which you are processing the input where you have added cybersiara captcha.

3. Download the SiaraShieldToeknValidationHelper.php file from here

4. Go to App>Http>Controllers and open the Controller where you are processing your form.

5. Add use App\Helpers\SiaraShieldToeknValidationHelper; In that file at top.

use App\Helpers\SiaraShieldToeknValidationHelper;

6. Get your public & private key from mycybersiara.com.

7. Copy the code below before processing the request. Add your private key in “PRIVATE-KEY”.

if($request->input('CyberSiaraToken') != null || $request->input('CyberSiaraToken') !=''){
$result = SiaraShieldToeknValidationHelper::ValidateToken('PRIVATE-KEY',$request->input('CyberSiaraToken'));
if($result=='true')
{
/*Your submit button code here */
}
}
else{
$result=SiaraShieldToeknValidationHelper::ValidateToken('TEST-CYBERSIARA','invalidtoken');
}

8. Once all these steps are done, go to your browser and refresh the page and enjoy the SiaraShield. Thank you for using SiaraShield!