How To Install php-ocramius-generated-hydrator on Fedora 36

In this tutorial we learn how to install php-ocramius-generated-hydrator in Fedora 36. php-ocramius-generated-hydrator is An object hydrator

Introduction

In this tutorial we learn how to install php-ocramius-generated-hydrator on Fedora 36.

What is php-ocramius-generated-hydrator

GeneratedHydrator is a library about high performance transition of data from arrays to objects and from objects to arrays. Autoloader

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

Install php-ocramius-generated-hydrator 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-ocramius-generated-hydrator using dnf by running the following command:

sudo dnf -y install php-ocramius-generated-hydrator

Install php-ocramius-generated-hydrator 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-ocramius-generated-hydrator using yum by running the following command:

sudo yum -y install php-ocramius-generated-hydrator

How To Uninstall php-ocramius-generated-hydrator on Fedora 36

To uninstall only the php-ocramius-generated-hydrator package we can use the following command:

sudo dnf remove php-ocramius-generated-hydrator

php-ocramius-generated-hydrator Package Contents on Fedora 36

/usr/share/doc/php-ocramius-generated-hydrator
/usr/share/doc/php-ocramius-generated-hydrator/CONTRIBUTING.md
/usr/share/doc/php-ocramius-generated-hydrator/README.md
/usr/share/doc/php-ocramius-generated-hydrator/UPGRADE.md
/usr/share/doc/php-ocramius-generated-hydrator/composer.json
/usr/share/licenses/php-ocramius-generated-hydrator
/usr/share/licenses/php-ocramius-generated-hydrator/LICENSE
/usr/share/php/GeneratedHydrator
/usr/share/php/GeneratedHydrator/ClassGenerator
/usr/share/php/GeneratedHydrator/ClassGenerator/DefaultHydratorGenerator.php
/usr/share/php/GeneratedHydrator/ClassGenerator/HydratorGenerator.php
/usr/share/php/GeneratedHydrator/CodeGenerator
/usr/share/php/GeneratedHydrator/CodeGenerator/Visitor
/usr/share/php/GeneratedHydrator/CodeGenerator/Visitor/HydratorMethodsVisitor.php
/usr/share/php/GeneratedHydrator/CodeGenerator/Visitor/ObjectProperty.php
/usr/share/php/GeneratedHydrator/Configuration.php
/usr/share/php/GeneratedHydrator/Exception
/usr/share/php/GeneratedHydrator/Exception/DisabledMethod.php
/usr/share/php/GeneratedHydrator/Exception/Exception.php
/usr/share/php/GeneratedHydrator/Factory
/usr/share/php/GeneratedHydrator/Factory/HydratorFactory.php
/usr/share/php/GeneratedHydrator/GeneratedHydrator.php
/usr/share/php/GeneratedHydrator/autoload.php

References

Summary

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