How To Install php-laminas-code4 on Fedora 36

In this tutorial we learn how to install php-laminas-code4 in Fedora 36. php-laminas-code4 is Laminas Framework Code component

Introduction

In this tutorial we learn how to install php-laminas-code4 on Fedora 36.

What is php-laminas-code4

laminas-code provides facilities to generate arbitrary code using an object-oriented interface, both to create new code as well as to update existing code. While the current implementation is limited to generating PHP code, you can easily extend the base class in order to provide code generation for other tasks etc. Documentation

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

Install php-laminas-code4 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-laminas-code4 using dnf by running the following command:

sudo dnf -y install php-laminas-code4

Install php-laminas-code4 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-laminas-code4 using yum by running the following command:

sudo yum -y install php-laminas-code4

How To Uninstall php-laminas-code4 on Fedora 36

To uninstall only the php-laminas-code4 package we can use the following command:

sudo dnf remove php-laminas-code4

php-laminas-code4 Package Contents on Fedora 36

/usr/share/doc/php-laminas-code4
/usr/share/doc/php-laminas-code4/COPYRIGHT.md
/usr/share/doc/php-laminas-code4/README.md
/usr/share/doc/php-laminas-code4/composer.json
/usr/share/licenses/php-laminas-code4
/usr/share/licenses/php-laminas-code4/LICENSE
/usr/share/php/Laminas/Code4
/usr/share/php/Laminas/Code4/DeclareStatement.php
/usr/share/php/Laminas/Code4/Exception
/usr/share/php/Laminas/Code4/Exception/BadMethodCallException.php
/usr/share/php/Laminas/Code4/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Code4/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Code4/Exception/RuntimeException.php
/usr/share/php/Laminas/Code4/Generator
/usr/share/php/Laminas/Code4/Generator/AbstractGenerator.php
/usr/share/php/Laminas/Code4/Generator/AbstractMemberGenerator.php
/usr/share/php/Laminas/Code4/Generator/BodyGenerator.php
/usr/share/php/Laminas/Code4/Generator/ClassGenerator.php
/usr/share/php/Laminas/Code4/Generator/DocBlock
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/AbstractTypeableTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/AuthorTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/GenericTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/LicenseTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/MethodTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/ParamTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/PropertyTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/ReturnTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/TagInterface.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/ThrowsTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/Tag/VarTag.php
/usr/share/php/Laminas/Code4/Generator/DocBlock/TagManager.php
/usr/share/php/Laminas/Code4/Generator/DocBlockGenerator.php
/usr/share/php/Laminas/Code4/Generator/EnumGenerator
/usr/share/php/Laminas/Code4/Generator/EnumGenerator/Cases
/usr/share/php/Laminas/Code4/Generator/EnumGenerator/Cases/BackedCases.php
/usr/share/php/Laminas/Code4/Generator/EnumGenerator/Cases/CaseFactory.php
/usr/share/php/Laminas/Code4/Generator/EnumGenerator/Cases/PureCases.php
/usr/share/php/Laminas/Code4/Generator/EnumGenerator/EnumGenerator.php
/usr/share/php/Laminas/Code4/Generator/EnumGenerator/Name.php
/usr/share/php/Laminas/Code4/Generator/Exception
/usr/share/php/Laminas/Code4/Generator/Exception/ClassNotFoundException.php
/usr/share/php/Laminas/Code4/Generator/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Code4/Generator/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Code4/Generator/Exception/RuntimeException.php
/usr/share/php/Laminas/Code4/Generator/FileGenerator.php
/usr/share/php/Laminas/Code4/Generator/GeneratorInterface.php
/usr/share/php/Laminas/Code4/Generator/InterfaceGenerator.php
/usr/share/php/Laminas/Code4/Generator/MethodGenerator.php
/usr/share/php/Laminas/Code4/Generator/ParameterGenerator.php
/usr/share/php/Laminas/Code4/Generator/PromotedParameterGenerator.php
/usr/share/php/Laminas/Code4/Generator/PropertyGenerator.php
/usr/share/php/Laminas/Code4/Generator/PropertyValueGenerator.php
/usr/share/php/Laminas/Code4/Generator/TraitGenerator.php
/usr/share/php/Laminas/Code4/Generator/TraitUsageGenerator.php
/usr/share/php/Laminas/Code4/Generator/TraitUsageInterface.php
/usr/share/php/Laminas/Code4/Generator/TypeGenerator
/usr/share/php/Laminas/Code4/Generator/TypeGenerator.php
/usr/share/php/Laminas/Code4/Generator/TypeGenerator/AtomicType.php
/usr/share/php/Laminas/Code4/Generator/ValueGenerator.php
/usr/share/php/Laminas/Code4/Generic
/usr/share/php/Laminas/Code4/Generic/Prototype
/usr/share/php/Laminas/Code4/Generic/Prototype/PrototypeClassFactory.php
/usr/share/php/Laminas/Code4/Generic/Prototype/PrototypeGenericInterface.php
/usr/share/php/Laminas/Code4/Generic/Prototype/PrototypeInterface.php
/usr/share/php/Laminas/Code4/Reflection
/usr/share/php/Laminas/Code4/Reflection/ClassReflection.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/AuthorTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/GenericTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/LicenseTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/MethodTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/ParamTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/PhpDocTypedTagInterface.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/PropertyTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/ReturnTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/TagInterface.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/ThrowsTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/Tag/VarTag.php
/usr/share/php/Laminas/Code4/Reflection/DocBlock/TagManager.php
/usr/share/php/Laminas/Code4/Reflection/DocBlockReflection.php
/usr/share/php/Laminas/Code4/Reflection/Exception
/usr/share/php/Laminas/Code4/Reflection/Exception/BadMethodCallException.php
/usr/share/php/Laminas/Code4/Reflection/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Code4/Reflection/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Code4/Reflection/Exception/RuntimeException.php
/usr/share/php/Laminas/Code4/Reflection/FunctionReflection.php
/usr/share/php/Laminas/Code4/Reflection/MethodReflection.php
/usr/share/php/Laminas/Code4/Reflection/ParameterReflection.php
/usr/share/php/Laminas/Code4/Reflection/PropertyReflection.php
/usr/share/php/Laminas/Code4/Reflection/ReflectionInterface.php
/usr/share/php/Laminas/Code4/Scanner
/usr/share/php/Laminas/Code4/Scanner/DocBlockScanner.php
/usr/share/php/Laminas/Code4/autoload.php
/usr/share/php/Laminas/Code4/polyfill
/usr/share/php/Laminas/Code4/polyfill/ReflectionEnumPolyfill.php

References

Summary

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