About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools

Warning: This page has not been updated in over over a year and may be outdated or deprecated.

CAPTCHA Handler Plugins

Beginning with VuFind 7.0, different CAPTCHA methods can be configured to prevent automated agents from accessing protected features of VuFind.

Key Plugin Details

Default Namespace: \VuFind\Captcha

Required Base Class: \VuFind\Captcha\AbstractBase

Service Locator Configuration Section in module.config.php: ['vufind']['plugin_managers']['captcha']

Service Manager Name for Service Locator: VuFind\Captcha\PluginManager

Template Name: To display the CAPTCHA control, VuFind will attempt to load a template from the Captcha folder of the current theme whose name corresponds with the class of the plugin (ignoring the namespace). The template will have access to the plugin object as $this→captcha.

See the General Plugin Information page for more details on VuFind plugins.

Configuring CAPTCHA

See the comments in the [Captcha] section of config.ini for details on how to activate CAPTCHA.

development/plugins/captcha_handlers.txt · Last modified: 2020/09/22 14:34 by demiankatz