How To Install php-pear-HTML-QuickForm on CentOS 7

In this tutorial we learn how to install php-pear-HTML-QuickForm on CentOS 7. php-pear-HTML-QuickForm is Class for creating, validating, processing HTML forms

Introduction

In this tutorial we learn how to install php-pear-HTML-QuickForm on CentOS 7.

What is php-pear-HTML-QuickForm

The HTML_QuickForm package provides methods to dynamically create, validate and render HTML forms. Features * More than 20 ready-to-use form elements. * XHTML compliant generated code. * Numerous mixable and extendable validation rules. * Automatic server-side validation and filtering. * On request JavaScript code generation for client-side validation. * File uploads support. * Total customization of form rendering. * Support for external template engines (ITX, Sigma, Flexy, Smarty). * Pluggable elements, rules and renderers extensions.

We can use yum or dnf to install php-pear-HTML-QuickForm on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-HTML-QuickForm.

Install php-pear-HTML-QuickForm on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install php-pear-HTML-QuickForm using yum by running the following command:

sudo yum -y install php-pear-HTML-QuickForm

Install php-pear-HTML-QuickForm on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install php-pear-HTML-QuickForm using dnf by running the following command:

sudo dnf -y install php-pear-HTML-QuickForm

How To Uninstall php-pear-HTML-QuickForm on CentOS 7

To uninstall only the php-pear-HTML-QuickForm package we can use the following command:

sudo dnf remove php-pear-HTML-QuickForm

References

Summary

In this tutorial we learn how to install php-pear-HTML-QuickForm on CentOS 7 using yum and dnf.