The first method for integrating a CAPTCHA system into your website is to use FuelPHP's recaptcha package. This is a convenient solution, since there is not much to be implemented and it allows you to integrate a well-known CAPTCHA system that your visitors are used to dealing with.
First, we will install the recaptcha package, which easily integrates the reCAPTCHA service into your FuelPHP application.
The reCAPTCHA service is a popular and free service provided by Google that allows you to check whether or not your visitor is a bot by asking him/her to enter words seen in distorted text images on screen. An interesting fact is that it helps to digitize the text of actual images and books.
Installing the package is very simple. Visit the following URL:
https://github.com/fuel-packages/fuel-recaptcha
Now, click on the Download ZIP button and then unzip the file inside the PKGPATH
directory (fuel/packages
).