How To Install php-laminas-inputfilter on Fedora 36

In this tutorial we learn how to install php-laminas-inputfilter in Fedora 36. php-laminas-inputfilter is Laminas Framework InputFilter component

Introduction

In this tutorial we learn how to install php-laminas-inputfilter on Fedora 36.

What is php-laminas-inputfilter

The Laminas\InputFilter component can be used to filter and validate generic sets of input data. For instance, you could use it to filter $_GET or $_POST values, CLI arguments, etc. Documentation

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

Install php-laminas-inputfilter 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-laminas-inputfilter using dnf by running the following command:

sudo dnf -y install php-laminas-inputfilter

Install php-laminas-inputfilter 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-laminas-inputfilter using yum by running the following command:

sudo yum -y install php-laminas-inputfilter

How To Uninstall php-laminas-inputfilter on Fedora 36

To uninstall only the php-laminas-inputfilter package we can use the following command:

sudo dnf remove php-laminas-inputfilter

php-laminas-inputfilter Package Contents on Fedora 36

/usr/share/doc/php-laminas-inputfilter
/usr/share/doc/php-laminas-inputfilter/COPYRIGHT.md
/usr/share/doc/php-laminas-inputfilter/README.md
/usr/share/doc/php-laminas-inputfilter/composer.json
/usr/share/licenses/php-laminas-inputfilter
/usr/share/licenses/php-laminas-inputfilter/LICENSE
/usr/share/php/Laminas/InputFilter
/usr/share/php/Laminas/InputFilter/ArrayInput.php
/usr/share/php/Laminas/InputFilter/BaseInputFilter.php
/usr/share/php/Laminas/InputFilter/CollectionInputFilter.php
/usr/share/php/Laminas/InputFilter/ConfigProvider.php
/usr/share/php/Laminas/InputFilter/EmptyContextInterface.php
/usr/share/php/Laminas/InputFilter/Exception
/usr/share/php/Laminas/InputFilter/Exception/ExceptionInterface.php
/usr/share/php/Laminas/InputFilter/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/InputFilter/Exception/RuntimeException.php
/usr/share/php/Laminas/InputFilter/Factory.php
/usr/share/php/Laminas/InputFilter/FileInput
/usr/share/php/Laminas/InputFilter/FileInput.php
/usr/share/php/Laminas/InputFilter/FileInput/FileInputDecoratorInterface.php
/usr/share/php/Laminas/InputFilter/FileInput/HttpServerFileInputDecorator.php
/usr/share/php/Laminas/InputFilter/FileInput/PsrFileInputDecorator.php
/usr/share/php/Laminas/InputFilter/Input.php
/usr/share/php/Laminas/InputFilter/InputFilter.php
/usr/share/php/Laminas/InputFilter/InputFilterAbstractServiceFactory.php
/usr/share/php/Laminas/InputFilter/InputFilterAwareInterface.php
/usr/share/php/Laminas/InputFilter/InputFilterAwareTrait.php
/usr/share/php/Laminas/InputFilter/InputFilterInterface.php
/usr/share/php/Laminas/InputFilter/InputFilterPluginManager.php
/usr/share/php/Laminas/InputFilter/InputFilterPluginManagerFactory.php
/usr/share/php/Laminas/InputFilter/InputFilterProviderInterface.php
/usr/share/php/Laminas/InputFilter/InputInterface.php
/usr/share/php/Laminas/InputFilter/InputProviderInterface.php
/usr/share/php/Laminas/InputFilter/Module.php
/usr/share/php/Laminas/InputFilter/OptionalInputFilter.php
/usr/share/php/Laminas/InputFilter/ReplaceableInputInterface.php
/usr/share/php/Laminas/InputFilter/UnfilteredDataInterface.php
/usr/share/php/Laminas/InputFilter/UnknownInputsCapableInterface.php
/usr/share/php/Laminas/InputFilter/autoload.php
/usr/share/php/Zend/InputFilter
/usr/share/php/Zend/InputFilter/autoload.php

References

Summary

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