Unsichtbares CAPTCHA für PHP
Composer-Paket mit Laravel- und Symfony-Integration. Unsichtbar, DSGVO-konform, in 5 Minuten integriert.

PHP Developer Features
Composer-Paket – einfache Installation
Laravel-Integration – Middleware & Validation Rule
Symfony-Bundle – Service Container Integration
PHP 8.0+ kompatibel
PSR-7/PSR-15 Middleware
Umfassende Dokumentation
Code-Beispiele
Installation
composer require silentshield/php-sdkPHP – Einfache Verifizierung
<?php
use SilentShield\SilentShield;
$shield = new SilentShield('YOUR_SECRET_KEY');
$token = $_POST['silentshield_token'] ?? '';
$result = $shield->verify($token, $_SERVER['REMOTE_ADDR']);
if ($result->isSuccess()) {
// Process form
processForm($_POST);
} else {
// Bot detected
http_response_code(403);
echo 'Bot detected';
}Laravel – Validation Rule
// In your FormRequest:
public function rules(): array
{
return [
'name' => 'required|string',
'email' => 'required|email',
'silentshield_token' => 'required|silentshield',
];
}
// config/silentshield.php
return [
'secret_key' => env('SILENTSHIELD_SECRET'),
];Frontend-Einbindung
<!-- In your HTML/Blade/Twig template: -->
<script src="https://cdn.silentshield.dev/v1/shield.js"
data-site-key="YOUR_SITE_KEY">
</script>
<form method="POST" action="/contact">
<!-- Your form fields -->
<button type="submit">Submit</button>
</form>Jetzt in PHP integrieren
composer require silentshield/php-sdk – in 5 Minuten einsatzbereit.