How To Install php-swaggest-json-diff on Fedora 36

In this tutorial we learn how to install php-swaggest-json-diff in Fedora 36. php-swaggest-json-diff is JSON diff/rearrange/patch/pointer library for PHP

Introduction

In this tutorial we learn how to install php-swaggest-json-diff on Fedora 36.

What is php-swaggest-json-diff

A PHP implementation for finding unordered diff between two JSON documents. Autoloader

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

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

sudo dnf -y install php-swaggest-json-diff

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

sudo yum -y install php-swaggest-json-diff

How To Uninstall php-swaggest-json-diff on Fedora 36

To uninstall only the php-swaggest-json-diff package we can use the following command:

sudo dnf remove php-swaggest-json-diff

php-swaggest-json-diff Package Contents on Fedora 36

/usr/share/doc/php-swaggest-json-diff
/usr/share/doc/php-swaggest-json-diff/CHANGELOG.md
/usr/share/doc/php-swaggest-json-diff/README.md
/usr/share/doc/php-swaggest-json-diff/composer.json
/usr/share/licenses/php-swaggest-json-diff
/usr/share/licenses/php-swaggest-json-diff/LICENSE
/usr/share/php/Swaggest
/usr/share/php/Swaggest/JsonDiff
/usr/share/php/Swaggest/JsonDiff/Exception.php
/usr/share/php/Swaggest/JsonDiff/JsonDiff.php
/usr/share/php/Swaggest/JsonDiff/JsonHash.php
/usr/share/php/Swaggest/JsonDiff/JsonMergePatch.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch
/usr/share/php/Swaggest/JsonDiff/JsonPatch.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/Add.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/Copy.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/Move.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/OpPath.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/OpPathFrom.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/OpPathValue.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/Remove.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/Replace.php
/usr/share/php/Swaggest/JsonDiff/JsonPatch/Test.php
/usr/share/php/Swaggest/JsonDiff/JsonPointer.php
/usr/share/php/Swaggest/JsonDiff/JsonValueReplace.php
/usr/share/php/Swaggest/JsonDiff/ModifiedPathDiff.php
/usr/share/php/Swaggest/JsonDiff/autoload.php

References

Summary

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