smartsolutionsitaly / cakephp-recaptcha
reCAPTCHA component for CakePHP
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: ^7.0
Requires (Dev)
- cakephp/cakephp: ^3.5
README
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)