How To Install php-laminas-xml2json on Fedora 36

In this tutorial we learn how to install php-laminas-xml2json in Fedora 36. php-laminas-xml2json is Provides functionality for converting XML to JSON

Introduction

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

What is php-laminas-xml2json

laminas-xml2json provides functionality for converting XML structures to JSON. Documentation

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

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

sudo dnf -y install php-laminas-xml2json

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

sudo yum -y install php-laminas-xml2json

How To Uninstall php-laminas-xml2json on Fedora 36

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

sudo dnf remove php-laminas-xml2json

php-laminas-xml2json Package Contents on Fedora 36

/usr/share/doc/php-laminas-xml2json
/usr/share/doc/php-laminas-xml2json/COPYRIGHT.md
/usr/share/doc/php-laminas-xml2json/README.md
/usr/share/doc/php-laminas-xml2json/composer.json
/usr/share/licenses/php-laminas-xml2json
/usr/share/licenses/php-laminas-xml2json/LICENSE
/usr/share/php/Laminas/Xml2Json
/usr/share/php/Laminas/Xml2Json/Exception
/usr/share/php/Laminas/Xml2Json/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Xml2Json/Exception/RecursionException.php
/usr/share/php/Laminas/Xml2Json/Exception/RuntimeException.php
/usr/share/php/Laminas/Xml2Json/Xml2Json.php
/usr/share/php/Laminas/Xml2Json/autoload.php
/usr/share/php/Zend/Xml2Json
/usr/share/php/Zend/Xml2Json/autoload.php

References

Summary

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