Download the PHP package yepsua/filament-captcha-field without Composer
On this page you can find all versions of the php package yepsua/filament-captcha-field. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yepsua/filament-captcha-field
More information about yepsua/filament-captcha-field
Files in yepsua/filament-captcha-field
Package filament-captcha-field
Short Description Provides a captcha field for the Filament Forms
License MIT
Homepage https://github.com/yepsua/filament-captcha-field
Informations about the package filament-captcha-field
Provides a captcha field for the Filament Forms
Easy integration with mewebstudio/captcha for the Filament forms.
Requirements:
- PHP extension: ext-gd
Installation
Install the package via composer:
Publish the package mewebstudio/captcha config file:
Usage
You can include the captcha field like any other filament field.
You can also just display the image and validate the captcha using any other TextInput field:
The captcha uses by default the flat
config. You can create/update the captcha configs in the file: config/captcha.php
.
You can switch to any other available captcha config, like the math
config:
For more info about the captcha configuration, please read the mewebstudio/captcha documentation.
Translations
This package and mewebstudio/captcha don't provide any translation for the captcha validation message, but you can translate the message by yourself, just add the item in the file resources/lang/{lang}/validation.php
Case of use: Add a captcha in the filament login form:
-
Extend the Login page class to add the new field into the form:
-
Use the new Login page instead the original filament page.
- Done. Finally you can test the captcha in the login form.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Omar Yepez
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-captcha-field with dependencies
filament/forms Version ^2.0
illuminate/contracts Version ^8.0|^9.0|^10.0
mews/captcha Version ^3.2
spatie/laravel-package-tools Version ^1.9.2