Skip to content

smartsolutionsitaly/cakephp-recaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cakephp-recaptcha

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)