How To Install php-laminas-mvc-form on Fedora 36

In this tutorial we learn how to install php-laminas-mvc-form in Fedora 36. php-laminas-mvc-form is Laminas Framework Mvc/Form component

Introduction

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

What is php-laminas-mvc-form

laminas-mvc-form is a metapackage that provides a single package for installing all packages necessary to fully use laminas-form under laminas-mvc, including * laminas/laminas-code * laminas/laminas-form * laminas/laminas-i18n i18n integration laminas-mvc-i18n. This is to allow providing the bare minimum required to use laminas-form, as its base view helper extends from the base laminas-i18n view helper. If you want to provide translations for your form elements, please install laminas-mvc-i18n as well.

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

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

sudo dnf -y install php-laminas-mvc-form

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

sudo yum -y install php-laminas-mvc-form

How To Uninstall php-laminas-mvc-form on Fedora 36

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

sudo dnf remove php-laminas-mvc-form

php-laminas-mvc-form Package Contents on Fedora 36

/usr/share/doc/php-laminas-mvc-form
/usr/share/doc/php-laminas-mvc-form/COPYRIGHT.md
/usr/share/doc/php-laminas-mvc-form/README.md
/usr/share/doc/php-laminas-mvc-form/composer.json
/usr/share/licenses/php-laminas-mvc-form
/usr/share/licenses/php-laminas-mvc-form/LICENSE
/usr/share/php/Laminas/Mvc
/usr/share/php/Laminas/Mvc/Form
/usr/share/php/Laminas/Mvc/Form/autoload.php
/usr/share/php/Zend/Mvc
/usr/share/php/Zend/Mvc/Form
/usr/share/php/Zend/Mvc/Form/autoload.php

References

Summary

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