Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Laravel Package

captchaapi/laravel

Official Laravel SDK for captchaapi.eu (EU-hosted, GDPR-friendly proof-of-work CAPTCHA). Includes Blade widget/component, server-side verification + validation rule, and optional Livewire 4 support. PHP 8.2+, Laravel 12/13.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • GDPR-Compliant Form Security: Justify adoption of a EU-hosted CAPTCHA to meet regulatory requirements (vs. Google reCAPTCHA or cloud-based alternatives).
  • Frictionless UX: Replace traditional CAPTCHAs with proof-of-work (invisible to legitimate users) to reduce bounce rates on forms (e.g., contact, signups, comments).
  • Livewire Integration: Enable real-time validation for Livewire components without manual JS, aligning with the framework’s declarative approach.
  • Build vs. Buy: Avoid custom development of CAPTCHA logic (e.g., integrating hCaptcha or reCAPTCHA) by leveraging a pre-built, Laravel-native SDK.
  • Multi-Language Support: Localize CAPTCHA messages for global audiences (e.g., EU, US, or region-specific forms) without manual translations.
  • Fail-Safe Policies: Configure fail_open for public forms (e.g., blogs) vs. fail_close for sensitive actions (e.g., payments, logins).
  • Testing & CI/CD: Simplify automated testing with FakeCaptchaapi to bypass CAPTCHA in CI pipelines or staging environments.
  • Secret Key Rotation: Securely rotate API keys without downtime during deployments (critical for production security).

When to Consider This Package

  • Avoid if:
    • Your stack doesn’t use Laravel 12/13 or PHP 8.2+ (e.g., older Laravel versions or non-PHP backends).
    • You need non-EU hosting (e.g., US-based teams may prefer Google reCAPTCHA for latency).
    • Your forms are low-risk (e.g., no spam issues) and don’t justify CAPTCHA overhead.
    • You require advanced CAPTCHA customization (e.g., brand-specific themes) beyond proof-of-work.
    • Your team lacks Laravel/Livewire expertise (steep learning curve for Livewire integration).
  • Look elsewhere if:
    • You need higher CAPTCHA accuracy (e.g., for high-value targets like banking forms; consider hCaptcha or Cloudflare Turnstile).
    • Your budget requires free alternatives (e.g., reCAPTCHA v2, though less GDPR-friendly).
    • You’re using headless CMS or non-Laravel frontends (e.g., Next.js, React) without Livewire.

How to Pitch It (Stakeholders)

For Executives: "This package replaces clunky CAPTCHAs with an invisible, GDPR-compliant solution hosted in the EU, reducing form abandonment while eliminating tracking risks. It’s a drop-in replacement for reCAPTCHA, with native Livewire support to streamline real-time validation—cutting dev time and improving UX. The proof-of-work model stops bots without frustrating users, and we can toggle it off entirely for testing/development. Cost is predictable (pay-per-verification), and the EU hosting aligns with our compliance goals."

For Engineers: *"The Laravel SDK handles all CAPTCHA logic—Blade components, Livewire traits, and validation rules—with zero custom JS. Key benefits:

  • Livewire-native: Use validateWithCaptcha() in components or ValidCaptcha rule in forms.
  • GDPR-ready: No cookies/tracking; EU-hosted (Hetzner Nuremberg).
  • Configurable: Toggle fail_open for public vs. sensitive forms, rotate keys seamlessly, and mock in tests.
  • Lightweight: ~500ms latency (vs. 1–2s for reCAPTCHA) with no visible friction for users. Tradeoff: Proof-of-work may not block all bots (e.g., sophisticated scrapers), but it’s far better than reCAPTCHA’s accessibility issues and cheaper than hCaptcha."
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony