How To Install php-ocramius-code-generator-utils on Fedora 36

In this tutorial we learn how to install php-ocramius-code-generator-utils in Fedora 36. php-ocramius-code-generator-utils is A set of code generator utilities built on top of PHP-Parsers

Introduction

In this tutorial we learn how to install php-ocramius-code-generator-utils on Fedora 36.

What is php-ocramius-code-generator-utils

A set of code generator utilities built on top of PHP-Parsers that ease its use when combined with Reflection. Autoloader

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

Install php-ocramius-code-generator-utils 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-code-generator-utils using dnf by running the following command:

sudo dnf -y install php-ocramius-code-generator-utils

Install php-ocramius-code-generator-utils 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-code-generator-utils using yum by running the following command:

sudo yum -y install php-ocramius-code-generator-utils

How To Uninstall php-ocramius-code-generator-utils on Fedora 36

To uninstall only the php-ocramius-code-generator-utils package we can use the following command:

sudo dnf remove php-ocramius-code-generator-utils

php-ocramius-code-generator-utils Package Contents on Fedora 36

/usr/share/doc/php-ocramius-code-generator-utils
/usr/share/doc/php-ocramius-code-generator-utils/CONTRIBUTING.md
/usr/share/doc/php-ocramius-code-generator-utils/README.md
/usr/share/doc/php-ocramius-code-generator-utils/UPGRADE.md
/usr/share/doc/php-ocramius-code-generator-utils/composer.json
/usr/share/licenses/php-ocramius-code-generator-utils
/usr/share/licenses/php-ocramius-code-generator-utils/LICENSE
/usr/share/php/CodeGenerationUtils
/usr/share/php/CodeGenerationUtils/Autoloader
/usr/share/php/CodeGenerationUtils/Autoloader/Autoloader.php
/usr/share/php/CodeGenerationUtils/Autoloader/AutoloaderInterface.php
/usr/share/php/CodeGenerationUtils/Exception
/usr/share/php/CodeGenerationUtils/Exception/DisabledMethodException.php
/usr/share/php/CodeGenerationUtils/Exception/ExceptionInterface.php
/usr/share/php/CodeGenerationUtils/Exception/InvalidGeneratedClassesDirectoryException.php
/usr/share/php/CodeGenerationUtils/FileLocator
/usr/share/php/CodeGenerationUtils/FileLocator/FileLocator.php
/usr/share/php/CodeGenerationUtils/FileLocator/FileLocatorInterface.php
/usr/share/php/CodeGenerationUtils/GeneratorStrategy
/usr/share/php/CodeGenerationUtils/GeneratorStrategy/BaseGeneratorStrategy.php
/usr/share/php/CodeGenerationUtils/GeneratorStrategy/EvaluatingGeneratorStrategy.php
/usr/share/php/CodeGenerationUtils/GeneratorStrategy/FileWriterGeneratorStrategy.php
/usr/share/php/CodeGenerationUtils/GeneratorStrategy/GeneratorStrategyInterface.php
/usr/share/php/CodeGenerationUtils/Inflector
/usr/share/php/CodeGenerationUtils/Inflector/ClassNameInflector.php
/usr/share/php/CodeGenerationUtils/Inflector/ClassNameInflectorInterface.php
/usr/share/php/CodeGenerationUtils/Inflector/Util
/usr/share/php/CodeGenerationUtils/Inflector/Util/ParameterEncoder.php
/usr/share/php/CodeGenerationUtils/Inflector/Util/UniqueIdentifierGenerator.php
/usr/share/php/CodeGenerationUtils/ReflectionBuilder
/usr/share/php/CodeGenerationUtils/ReflectionBuilder/ClassBuilder.php
/usr/share/php/CodeGenerationUtils/Visitor
/usr/share/php/CodeGenerationUtils/Visitor/ClassClonerVisitor.php
/usr/share/php/CodeGenerationUtils/Visitor/ClassExtensionVisitor.php
/usr/share/php/CodeGenerationUtils/Visitor/ClassFQCNResolverVisitor.php
/usr/share/php/CodeGenerationUtils/Visitor/ClassImplementorVisitor.php
/usr/share/php/CodeGenerationUtils/Visitor/ClassRenamerVisitor.php
/usr/share/php/CodeGenerationUtils/Visitor/Exception
/usr/share/php/CodeGenerationUtils/Visitor/Exception/ExceptionInterface.php
/usr/share/php/CodeGenerationUtils/Visitor/Exception/UnexpectedValueException.php
/usr/share/php/CodeGenerationUtils/Visitor/MethodDisablerVisitor.php
/usr/share/php/CodeGenerationUtils/Visitor/PublicMethodsFilterVisitor.php
/usr/share/php/CodeGenerationUtils/autoload.php

References

Summary

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