PHP code example of dominion-solutions / filament-captcha
1. Go to this page and download the library: Download dominion-solutions/filament-captcha library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dominion-solutions / filament-captcha example snippets
return [
'engine' => env('CAPTCHA_ENGINE', 'mews'),
];
public function form(Form $form): Form
{
return $form->schema([
Captcha::make('captcha')
->rules(['captcha'])
->
bash
php artisan vendor:publish --tag="filament-captcha-config"
bash
php artisan vendor:publish --tag="filament-captcha-views"