PHPackages                             dapikk/ko7-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. dapikk/ko7-recaptcha

ActiveLibrary

dapikk/ko7-recaptcha
====================

Simple wrapper for Ko7even MVC for Google's reCAPTCHA library

1.1.1(1y ago)04MITPHPPHP &gt;=7.4CI passing

Since Feb 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/DaPikk/Ko7-Recaptcha)[ Packagist](https://packagist.org/packages/dapikk/ko7-recaptcha)[ RSS](/packages/dapikk-ko7-recaptcha/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

[![PHP workflow](https://github.com/DaPikk/Ko7-Recaptcha/actions/workflows/php.yml/badge.svg)](https://github.com/DaPikk/Ko7-Recaptcha/actions/workflows/php.yml/badge.svg)[![Required minimum PHP Version](https://camo.githubusercontent.com/f808b087bafcd289144f4ac7ed070814c4f43a81397f70c3562b0e9b37c4aaf1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3d253345372e342d626c7565)](https://camo.githubusercontent.com/f808b087bafcd289144f4ac7ed070814c4f43a81397f70c3562b0e9b37c4aaf1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3d253345372e342d626c7565)[![Required minimum Ko7even Version](https://camo.githubusercontent.com/d64f4217f244f25ab674cb2a9f6f8069c66119846e07b7afe019225838096e23/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b6f376576656e2d3d253345332e332e382d626c7565)](https://github.com/koseven/koseven)[![Required minimum Google/reCaptcha Version](https://camo.githubusercontent.com/1b3cb26809cf5cda81d575e1d8dd10b8e9590870c8b710c98dd311652ffd9e4b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7265436170746368612d3d253345312e332e302d626c7565)](https://github.com/google/recaptcha)[![Github Issues](https://camo.githubusercontent.com/09b3add2091e065cebfd3d2bcfc024857e1d0a131f8f871434b560aeb472e6c3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f646170696b6b2f6b6f372d7265636170746368612e737667)](https://github.com/dapikk/ko7-recaptcha/issues)

Simple wrapper for Google's reCAPTCHA library
=============================================

[](#simple-wrapper-for-googles-recaptcha-library)

A single class that allows you to add Google reCAPTCHA to your Ko7 forms. Code is very simple.

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

[](#installation)

Direct download: Download the [ZIP file](https://github.com/DaPikk/Ko7-Recaptcha/archive/refs/heads/main.zip)and extract into your project. OR

```
composer require dapikk/ko7-recaptcha
```

Requires
--------

[](#requires)

- PHP =&gt; 7.4
- Ko7even =&gt; 3.3.8
- Google/reCaptcha =&gt; 1.3.0

Usage
-----

[](#usage)

1. First obtain the appropriate keys for the type of reCAPTCHA you wish to integrate for v2 at
2. Copy config from MODPATH/recaptcha/config/recaptcha.php to APPATH/config/recaptcha.php
3. Make needed changes to configuration array!
4. Activate recaptcha module in bootstrap!

To activate module:

```
Kohana::modules([
...
    'recaptcha' => MODPATH . 'recaptcha',
...
]);
```

To initialize reCaptcha check form on Your page:

```

```

Or if multiple captchas are needed on same page then to provide some unique ID with request:

```
