smartsolutionsitaly/cakephp-recaptcha

reCAPTCHA component for CakePHP

1.0.8 2019-06-06 10:11 UTC

This package is auto-updated.

Last update: 2024-04-06 21:35:55 UTC


README

LICENSE packagist issues CakePHP

reCAPTCHA component for CakePHP

Installation

You can install cakephp-recaptcha into your project using Composer.

$ composer require smartsolutionsitaly/cakephp-recaptcha

Setup

The plugin can be installed in two ways.

Terminal Command

Use this command in your terminal:

bin/cake plugin load SmartSolutionsItaly/CakePHP/ReCaptcha

Editing Bootstrap Config

Edit the config/bootstrap.php file and adding

Plugin::load('SmartSolutionsItaly/CakePHP/ReCaptcha');

at the end of the file.

Editing Application.php

Edit the src/Application.php file and adding

$this->addPlugin('SmartSolutionsItaly/CakePHP/ReCaptcha');

in the bootstrap() function.

public function bootstrap()
{
  parent::bootstrap();
  
  $this->addPlugin('SmartSolutionsItaly/CakePHP/ReCaptcha');
}

License

Licensed under The MIT License For full copyright and license information, please see the LICENSE Redistributions of files must retain the above copyright notice.

Copyright

Copyright (c) 2018 Smart Solutions S.r.l. (https://smartsolutions.it)