PHPackages                             arrilot/google-recaptcha - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. arrilot/google-recaptcha

ActiveLibrary

arrilot/google-recaptcha
========================

0.1(8y ago)16.7k↓100%MITPHPPHP &gt;=5.6.9

Since Feb 8Pushed 8y agoCompare

[ Source](https://github.com/arrilot/google-recaptcha)[ Packagist](https://packagist.org/packages/arrilot/google-recaptcha)[ Docs](https://github.com/arrilot/google-recaptcha)[ RSS](/packages/arrilot-google-recaptcha/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/6add80b85b6c32d2c91e0f0c009cce22eec3769945cc7d365da3d39f80a99377/68747470733a2f2f706f7365722e707567782e6f72672f617272696c6f742f676f6f676c652d7265636170746368612f762f737461626c652e737667)](https://packagist.org/packages/arrilot/google-recaptcha/)[![Total Downloads](https://camo.githubusercontent.com/546939be1b4b520f70b888a4cec9e0ccd11d1b3acac10251a351fc685794f219/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617272696c6f742f676f6f676c652d7265636170746368612e7376673f7374796c653d666c6174)](https://packagist.org/packages/Arrilot/google-recaptcha)[![Build Status](https://camo.githubusercontent.com/fbbc8ee8601928e851118f15f7087742861ca05f7348e83104866fb24cd043de/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f617272696c6f742f676f6f676c652d7265636170746368612f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/arrilot/google-recaptcha)

Abstraction Layer for google reCAPTCHA 2
========================================

[](#abstraction-layer-for-google-recaptcha-2)

Installation
------------

[](#installation)

1. `composer require arrilot/google-recaptcha`
2. Somewhere during bootstrap

```
\Arrilot\GoogleRecaptcha\Recaptcha::getInstance()
    ->setPublicKey('6Lf1_...')
    ->setSecretKey('6Lf1_...')
    ->setLanguage('ru');
```

Usage example
-------------

[](#usage-example)

```
