How To Install php-zumba-json-serializer on Fedora 36

In this tutorial we learn how to install php-zumba-json-serializer in Fedora 36. php-zumba-json-serializer is Serialize PHP variables

Introduction

In this tutorial we learn how to install php-zumba-json-serializer on Fedora 36.

What is php-zumba-json-serializer

This is a library to serialize PHP variables in JSON format. It is similar of the serialize() function in PHP, but the output is a string JSON encoded. You can also unserialize the JSON generated by this tool and have you PHP content back. Autoloader

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

Install php-zumba-json-serializer 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-zumba-json-serializer using dnf by running the following command:

sudo dnf -y install php-zumba-json-serializer

Install php-zumba-json-serializer 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-zumba-json-serializer using yum by running the following command:

sudo yum -y install php-zumba-json-serializer

How To Uninstall php-zumba-json-serializer on Fedora 36

To uninstall only the php-zumba-json-serializer package we can use the following command:

sudo dnf remove php-zumba-json-serializer

php-zumba-json-serializer Package Contents on Fedora 36

/usr/share/doc/php-zumba-json-serializer
/usr/share/doc/php-zumba-json-serializer/README.md
/usr/share/doc/php-zumba-json-serializer/composer.json
/usr/share/licenses/php-zumba-json-serializer
/usr/share/licenses/php-zumba-json-serializer/LICENSE
/usr/share/php/Zumba
/usr/share/php/Zumba/JsonSerializer
/usr/share/php/Zumba/JsonSerializer/Exception
/usr/share/php/Zumba/JsonSerializer/Exception/JsonSerializerException.php
/usr/share/php/Zumba/JsonSerializer/JsonSerializer.php
/usr/share/php/Zumba/JsonSerializer/autoload.php

References

Summary

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