How To Install php-laminas-code on Fedora 36

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

Introduction

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

What is php-laminas-code

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-code on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-laminas-code.

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

sudo dnf -y install php-laminas-code

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

sudo yum -y install php-laminas-code

How To Uninstall php-laminas-code on Fedora 36

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

sudo dnf remove php-laminas-code

php-laminas-code Package Contents on Fedora 36

/usr/share/doc/php-laminas-code
/usr/share/doc/php-laminas-code/CHANGELOG.md
/usr/share/doc/php-laminas-code/COPYRIGHT.md
/usr/share/doc/php-laminas-code/README.md
/usr/share/doc/php-laminas-code/composer.json
/usr/share/licenses/php-laminas-code
/usr/share/licenses/php-laminas-code/LICENSE
/usr/share/php/Laminas/Code
/usr/share/php/Laminas/Code/Annotation
/usr/share/php/Laminas/Code/Annotation/AnnotationCollection.php
/usr/share/php/Laminas/Code/Annotation/AnnotationInterface.php
/usr/share/php/Laminas/Code/Annotation/AnnotationManager.php
/usr/share/php/Laminas/Code/Annotation/Parser
/usr/share/php/Laminas/Code/Annotation/Parser/DoctrineAnnotationParser.php
/usr/share/php/Laminas/Code/Annotation/Parser/GenericAnnotationParser.php
/usr/share/php/Laminas/Code/Annotation/Parser/ParserInterface.php
/usr/share/php/Laminas/Code/DeclareStatement.php
/usr/share/php/Laminas/Code/Exception
/usr/share/php/Laminas/Code/Exception/BadMethodCallException.php
/usr/share/php/Laminas/Code/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Code/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Code/Exception/RuntimeException.php
/usr/share/php/Laminas/Code/Generator
/usr/share/php/Laminas/Code/Generator/AbstractGenerator.php
/usr/share/php/Laminas/Code/Generator/AbstractMemberGenerator.php
/usr/share/php/Laminas/Code/Generator/BodyGenerator.php
/usr/share/php/Laminas/Code/Generator/ClassGenerator.php
/usr/share/php/Laminas/Code/Generator/DocBlock
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/AbstractTypeableTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/AuthorTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/GenericTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/LicenseTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/MethodTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/ParamTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/PropertyTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/ReturnTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/TagInterface.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/ThrowsTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/Tag/VarTag.php
/usr/share/php/Laminas/Code/Generator/DocBlock/TagManager.php
/usr/share/php/Laminas/Code/Generator/DocBlockGenerator.php
/usr/share/php/Laminas/Code/Generator/Exception
/usr/share/php/Laminas/Code/Generator/Exception/ClassNotFoundException.php
/usr/share/php/Laminas/Code/Generator/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Code/Generator/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Code/Generator/Exception/RuntimeException.php
/usr/share/php/Laminas/Code/Generator/FileGenerator.php
/usr/share/php/Laminas/Code/Generator/FileGeneratorRegistry.php
/usr/share/php/Laminas/Code/Generator/GeneratorInterface.php
/usr/share/php/Laminas/Code/Generator/InterfaceGenerator.php
/usr/share/php/Laminas/Code/Generator/MethodGenerator.php
/usr/share/php/Laminas/Code/Generator/ParameterGenerator.php
/usr/share/php/Laminas/Code/Generator/PropertyGenerator.php
/usr/share/php/Laminas/Code/Generator/PropertyValueGenerator.php
/usr/share/php/Laminas/Code/Generator/TraitGenerator.php
/usr/share/php/Laminas/Code/Generator/TraitUsageGenerator.php
/usr/share/php/Laminas/Code/Generator/TraitUsageInterface.php
/usr/share/php/Laminas/Code/Generator/TypeGenerator.php
/usr/share/php/Laminas/Code/Generator/ValueGenerator.php
/usr/share/php/Laminas/Code/Generic
/usr/share/php/Laminas/Code/Generic/Prototype
/usr/share/php/Laminas/Code/Generic/Prototype/PrototypeClassFactory.php
/usr/share/php/Laminas/Code/Generic/Prototype/PrototypeGenericInterface.php
/usr/share/php/Laminas/Code/Generic/Prototype/PrototypeInterface.php
/usr/share/php/Laminas/Code/NameInformation.php
/usr/share/php/Laminas/Code/Reflection
/usr/share/php/Laminas/Code/Reflection/ClassReflection.php
/usr/share/php/Laminas/Code/Reflection/DocBlock
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/AuthorTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/GenericTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/LicenseTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/MethodTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/ParamTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/PhpDocTypedTagInterface.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/PropertyTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/ReturnTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/TagInterface.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/ThrowsTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/Tag/VarTag.php
/usr/share/php/Laminas/Code/Reflection/DocBlock/TagManager.php
/usr/share/php/Laminas/Code/Reflection/DocBlockReflection.php
/usr/share/php/Laminas/Code/Reflection/Exception
/usr/share/php/Laminas/Code/Reflection/Exception/BadMethodCallException.php
/usr/share/php/Laminas/Code/Reflection/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Code/Reflection/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Code/Reflection/Exception/RuntimeException.php
/usr/share/php/Laminas/Code/Reflection/FileReflection.php
/usr/share/php/Laminas/Code/Reflection/FunctionReflection.php
/usr/share/php/Laminas/Code/Reflection/MethodReflection.php
/usr/share/php/Laminas/Code/Reflection/ParameterReflection.php
/usr/share/php/Laminas/Code/Reflection/PropertyReflection.php
/usr/share/php/Laminas/Code/Reflection/ReflectionInterface.php
/usr/share/php/Laminas/Code/Scanner
/usr/share/php/Laminas/Code/Scanner/AggregateDirectoryScanner.php
/usr/share/php/Laminas/Code/Scanner/AnnotationScanner.php
/usr/share/php/Laminas/Code/Scanner/CachingFileScanner.php
/usr/share/php/Laminas/Code/Scanner/ClassScanner.php
/usr/share/php/Laminas/Code/Scanner/ConstantScanner.php
/usr/share/php/Laminas/Code/Scanner/DerivedClassScanner.php
/usr/share/php/Laminas/Code/Scanner/DirectoryScanner.php
/usr/share/php/Laminas/Code/Scanner/DocBlockScanner.php
/usr/share/php/Laminas/Code/Scanner/FileScanner.php
/usr/share/php/Laminas/Code/Scanner/FunctionScanner.php
/usr/share/php/Laminas/Code/Scanner/MethodScanner.php
/usr/share/php/Laminas/Code/Scanner/ParameterScanner.php
/usr/share/php/Laminas/Code/Scanner/PropertyScanner.php
/usr/share/php/Laminas/Code/Scanner/ScannerInterface.php
/usr/share/php/Laminas/Code/Scanner/TokenArrayScanner.php
/usr/share/php/Laminas/Code/Scanner/Util.php
/usr/share/php/Laminas/Code/Scanner/ValueScanner.php
/usr/share/php/Laminas/Code/autoload.php
/usr/share/php/Zend/Code
/usr/share/php/Zend/Code/autoload.php

References

Summary

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