- How do I install abanoubnassem/filament-grecaptcha-field in a Laravel app?
- Install it with Composer using composer require abanoubnassem/filament-grecaptcha-field, then publish any package config or assets if your setup requires it. Add your Google reCAPTCHA site and secret keys to the environment, and use the field in a Filament form schema. The package is only useful in a Laravel application that already uses Filament, so confirm that dependency first.
- Which Filament versions does this Google reCAPTCHA field support?
- It is built for Filament Forms and the overview lists support for Filament v2, v3, v4, and v5. The latest release also widens constraints for Laravel 13, PHP 8.4, and Filament 5.0. Check the exact composer constraints for your Filament major before adopting it, especially if you are on a pre-release Filament 5 build.
- How do I add reCAPTCHA to a Filament form with this package?
- Add the package's custom reCAPTCHA field to the form schema alongside your other Filament fields. Supply the site key so the widget renders in the browser, and let Filament's normal validation flow run the server-side verification. Keep the field scoped to the specific forms that need spam protection rather than every form in the panel.
- Where do I configure the Google reCAPTCHA site key and secret key?
- Configuration is environment-driven: put the site key and secret key in your .env file and reference them from the package config. Publish the config file if the package provides one so the field can read those values consistently across environments. Treat the secret key as sensitive and keep it out of version control.
- Does this package support reCAPTCHA v2 and v3?
- Yes. The package description says it provides a Google reCAPTCHA V2 field and the technical assessment notes v2/v3 wrapping. Confirm the exact widget and validation behavior for the version you need in your Filament form. If you require reCAPTCHA Enterprise-specific features, this community wrapper is probably not sufficient.
- Can I use this reCAPTCHA field on frontend forms outside the Filament admin panel?
- The package is described as working in both admin panels and frontend forms, but those forms must still be Filament forms. It is not a plain Blade or standalone Livewire component, so it will not work outside a Laravel plus Filament stack. For non-Filament forms, use Google's reCAPTCHA SDK directly or build a thin in-house field.
- Is abanoubnassem/filament-grecaptcha-field production-ready?
- It is pre-1.0 software, currently around v0.0.12, so it makes no semver stability guarantees. The integration surface is small and reversible, but minor releases may contain breaking changes and the project has a single primary maintainer. For production use, pin a specific version, review upgrades as change requests, and feature-flag the forms that use it.
- How does the package verify reCAPTCHA on the server?
- The field integrates with Filament's native form validation, and verification requires an outbound server-side call to Google's reCAPTCHA verification endpoint. That means form submissions depend on Google's availability and may add latency. Make sure your server can make outbound HTTPS requests and plan for failure behavior if Google is unreachable.
- Does this Filament reCAPTCHA package require database migrations?
- No. The package is a UI-level Filament field plus validation and view assets, not a persistence layer. Installation does not add tables or change your domain model, so adoption and removal are low-risk. The main setup steps are Composer installation, key configuration, and adding the field to a form schema.
- What are alternatives to this Filament reCAPTCHA field?
- Alternatives include an official or more actively maintained Filament reCAPTCHA plugin, a thin in-house Filament field that calls Google's SDK, or reCAPTCHA Enterprise if you need enterprise controls. Evaluate the bus factor, version constraints, and test coverage before choosing a pre-1.0 community package. If you only need one form protected, an in-house field can be simpler to own.