How To Install php-google-recaptcha on Fedora 36

In this tutorial we learn how to install php-google-recaptcha in Fedora 36. php-google-recaptcha is reCAPTCHA PHP client library

Introduction

In this tutorial we learn how to install php-google-recaptcha on Fedora 36.

What is php-google-recaptcha

reCAPTCHA PHP client library. reCAPTCHA is a free CAPTCHA service that protect websites from spam and abuse. This is Google authored code that provides plugins for third-party integration with reCAPTCHA. See https Autoloader

We can use yum or dnf to install php-google-recaptcha on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-google-recaptcha.

Install php-google-recaptcha on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-google-recaptcha using dnf by running the following command:

sudo dnf -y install php-google-recaptcha

Install php-google-recaptcha on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-google-recaptcha using yum by running the following command:

sudo yum -y install php-google-recaptcha

How To Uninstall php-google-recaptcha on Fedora 36

To uninstall only the php-google-recaptcha package we can use the following command:

sudo dnf remove php-google-recaptcha

php-google-recaptcha Package Contents on Fedora 36

/usr/share/doc/php-google-recaptcha
/usr/share/doc/php-google-recaptcha/ARCHITECTURE.md
/usr/share/doc/php-google-recaptcha/CONTRIBUTING.md
/usr/share/doc/php-google-recaptcha/README.md
/usr/share/doc/php-google-recaptcha/composer.json
/usr/share/licenses/php-google-recaptcha
/usr/share/licenses/php-google-recaptcha/LICENSE
/usr/share/php/ReCaptcha
/usr/share/php/ReCaptcha/ReCaptcha.php
/usr/share/php/ReCaptcha/RequestMethod
/usr/share/php/ReCaptcha/RequestMethod.php
/usr/share/php/ReCaptcha/RequestMethod/Curl.php
/usr/share/php/ReCaptcha/RequestMethod/CurlPost.php
/usr/share/php/ReCaptcha/RequestMethod/Post.php
/usr/share/php/ReCaptcha/RequestMethod/Socket.php
/usr/share/php/ReCaptcha/RequestMethod/SocketPost.php
/usr/share/php/ReCaptcha/RequestParameters.php
/usr/share/php/ReCaptcha/Response.php
/usr/share/php/ReCaptcha/autoload.php

References

Summary

In this tutorial we learn how to install php-google-recaptcha on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).