jakreiter/recaptchaproxyable
A Laravel package that makes reCAPTCHA verification proxyable, letting you route validation requests through a proxy or custom transport instead of hitting Google directly. Useful for apps in restricted networks or regions where direct reCAPTCHA calls are unreliable, while keeping the familiar valid...
siteverify endpoint (a derivative of google/recaptcha), not a Laravel package — no service provider, no config publishing, no facade, no container bindings. Laravel integration is manual wiring you own. It is only the right choice if outbound egress to google.com is blocked, inspected, or geo-restricted; otherwise google/recaptcha is strictly better.jakreiter/recaptchaproxyable) does not match the repository name (jakreiter/recaptcha), which suggests a personal fork rather than a published, versioned artifact.CONNECT or only plaintext proxying is supported; proxy auth, TLS interception trust, and timeout semantics are unverified.google/recaptcha tag/commit is this forked from, and how far behind is it?HTTPS_PROXY/NO_PROXY env vars, or only explicit constructor config?CONNECT tunneling for the TLS call, and how does it handle proxy-injected certificates?success, score, action, error-codes) unchanged from upstream, so existing validation logic survives?CaptchaVerifier::verify(token, action, ip)) and treat any client library as an implementation detail. That lets you go google/recaptcha → this fork → back, or → your own 40-line Guzzle client, without touching controllers or form requests.config/services.php + env, injected once, never scattered through constructors.CONNECT tunneling against a local squid/mitmproxy in front of a mock siteverify endpoint.siteverify plus at least one test through a real proxy, including a proxy-returns-HTML-error-page case.google/recaptcha installed and switchable by config until the spike is signed off.google/recaptcha, or write the thin client yourself. You get proxy support without inheriting an unmaintained tree — this is the recommendation unless the spike shows the fork is both complete and current.siteverify is one synchronous outbound call per verification, and the proxy adds a hop and a second failure domain. Expect roughly +20–100 ms per request and proxy connection-pool limits to become the bottleneck during login storms or campaign-driven signup bursts. Set explicit connect/read timeouts, cap concurrency, and add a circuit breaker so the proxy doesn't become a soft DoS on auth.200 with an HTML error page → naive clients treat it as success. Validate the JSON body and the success field, never just the status code.google/recaptcha and is a few classes. Budget half a day for someone who knows the upstream library, plus 1–2 days for the proxy validation harness and runbook. The real onboarding cost is not the library; it's the abstraction, the fail-mode policy, and the ownership commitment.How can I help you explore Laravel packages today?