avris / micrus-recaptcha
ReCaptcha widget for the Micrus framework
Installs: 115
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/avris/micrus-recaptcha
Requires
- avris/micrus: ^4.0
- google/recaptcha: ^1.1
This package is auto-updated.
Last update: 2025-09-29 01:40:56 UTC
README
This is a module for Micrus framework that adds Google's ReCaptcha as a form widget.
Installation
Run:
composer require avris/micrus-recaptcha
Then register the module in your App\App:registerModules
:
yield new \Avris\Micrus\ReCaptcha\ReCaptchaModule;
Finally, run:
bin/env
You will be asked for your Site key
and Secret key
.
You can get them after signing up at ReCaptcha.
They will be saved in the .env
file.
Usage
In your form's configure()
method simply add this widget:
->add('captcha', \Avris\Micrus\ReCaptcha\Widget\ReCaptcha::class)
VoilĂ !
Copyright
- Author: Andre Prusinowski (Avris.it)
- Licence: MIT