How To Install php-myclabs-deep-copy on Fedora 36

In this tutorial we learn how to install php-myclabs-deep-copy in Fedora 36. php-myclabs-deep-copy is Create deep copies (clones) of your objects

Introduction

In this tutorial we learn how to install php-myclabs-deep-copy on Fedora 36.

What is php-myclabs-deep-copy

DeepCopy helps you create deep copies (clones) of your objects. It is designed to handle cycles in the association graph.

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

Install php-myclabs-deep-copy 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-myclabs-deep-copy using dnf by running the following command:

sudo dnf -y install php-myclabs-deep-copy

Install php-myclabs-deep-copy 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-myclabs-deep-copy using yum by running the following command:

sudo yum -y install php-myclabs-deep-copy

How To Uninstall php-myclabs-deep-copy on Fedora 36

To uninstall only the php-myclabs-deep-copy package we can use the following command:

sudo dnf remove php-myclabs-deep-copy

php-myclabs-deep-copy Package Contents on Fedora 36

/usr/share/doc/php-myclabs-deep-copy
/usr/share/doc/php-myclabs-deep-copy/README.md
/usr/share/doc/php-myclabs-deep-copy/composer.json
/usr/share/licenses/php-myclabs-deep-copy
/usr/share/licenses/php-myclabs-deep-copy/LICENSE
/usr/share/php/DeepCopy
/usr/share/php/DeepCopy/DeepCopy.php
/usr/share/php/DeepCopy/Exception
/usr/share/php/DeepCopy/Exception/CloneException.php
/usr/share/php/DeepCopy/Exception/PropertyException.php
/usr/share/php/DeepCopy/Filter
/usr/share/php/DeepCopy/Filter/Doctrine
/usr/share/php/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php
/usr/share/php/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php
/usr/share/php/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php
/usr/share/php/DeepCopy/Filter/Filter.php
/usr/share/php/DeepCopy/Filter/KeepFilter.php
/usr/share/php/DeepCopy/Filter/ReplaceFilter.php
/usr/share/php/DeepCopy/Filter/SetNullFilter.php
/usr/share/php/DeepCopy/Matcher
/usr/share/php/DeepCopy/Matcher/Doctrine
/usr/share/php/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php
/usr/share/php/DeepCopy/Matcher/Matcher.php
/usr/share/php/DeepCopy/Matcher/PropertyMatcher.php
/usr/share/php/DeepCopy/Matcher/PropertyNameMatcher.php
/usr/share/php/DeepCopy/Matcher/PropertyTypeMatcher.php
/usr/share/php/DeepCopy/Reflection
/usr/share/php/DeepCopy/Reflection/ReflectionHelper.php
/usr/share/php/DeepCopy/TypeFilter
/usr/share/php/DeepCopy/TypeFilter/Date
/usr/share/php/DeepCopy/TypeFilter/Date/DateIntervalFilter.php
/usr/share/php/DeepCopy/TypeFilter/ReplaceFilter.php
/usr/share/php/DeepCopy/TypeFilter/ShallowCopyFilter.php
/usr/share/php/DeepCopy/TypeFilter/Spl
/usr/share/php/DeepCopy/TypeFilter/Spl/ArrayObjectFilter.php
/usr/share/php/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php
/usr/share/php/DeepCopy/TypeFilter/Spl/SplDoublyLinkedListFilter.php
/usr/share/php/DeepCopy/TypeFilter/TypeFilter.php
/usr/share/php/DeepCopy/TypeMatcher
/usr/share/php/DeepCopy/TypeMatcher/TypeMatcher.php
/usr/share/php/DeepCopy/autoload.php
/usr/share/php/DeepCopy/deep_copy.php

References

Summary

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