How To Install php-phpdocumentor-reflection-docblock4 on Fedora 36

In this tutorial we learn how to install php-phpdocumentor-reflection-docblock4 in Fedora 36. php-phpdocumentor-reflection-docblock4 is DocBlock parser

Introduction

In this tutorial we learn how to install php-phpdocumentor-reflection-docblock4 on Fedora 36.

What is php-phpdocumentor-reflection-docblock4

The ReflectionDocBlock component of phpDocumentor provides a DocBlock parser that is fully compatible with the PHPDoc standard. With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock. Autoloader

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

Install php-phpdocumentor-reflection-docblock4 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-phpdocumentor-reflection-docblock4 using dnf by running the following command:

sudo dnf -y install php-phpdocumentor-reflection-docblock4

Install php-phpdocumentor-reflection-docblock4 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-phpdocumentor-reflection-docblock4 using yum by running the following command:

sudo yum -y install php-phpdocumentor-reflection-docblock4

How To Uninstall php-phpdocumentor-reflection-docblock4 on Fedora 36

To uninstall only the php-phpdocumentor-reflection-docblock4 package we can use the following command:

sudo dnf remove php-phpdocumentor-reflection-docblock4

php-phpdocumentor-reflection-docblock4 Package Contents on Fedora 36

/usr/share/doc/php-phpdocumentor-reflection-docblock4
/usr/share/doc/php-phpdocumentor-reflection-docblock4/README.md
/usr/share/doc/php-phpdocumentor-reflection-docblock4/composer.json
/usr/share/licenses/php-phpdocumentor-reflection-docblock4
/usr/share/licenses/php-phpdocumentor-reflection-docblock4/LICENSE
/usr/share/php/phpDocumentor/Reflection
/usr/share/php/phpDocumentor/Reflection/DocBlock4
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Description.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/DescriptionFactory.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/DocBlock.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/DocBlockFactory.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/DocBlockFactoryInterface.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/ExampleFinder.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Serializer.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/StandardTagFactory.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tag.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/TagFactory.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Author.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/BaseTag.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Covers.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Deprecated.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Example.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Factory
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Factory/StaticMethod.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Factory/Strategy.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Formatter
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Formatter.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Formatter/AlignFormatter.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Formatter/PassthroughFormatter.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Generic.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Link.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Method.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Param.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Property.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/PropertyRead.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/PropertyWrite.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Reference
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Reference/Fqsen.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Reference/Reference.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Reference/Url.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Return_.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/See.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Since.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Source.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/TagWithType.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Throws.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Uses.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Var_.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/Tags/Version.php
/usr/share/php/phpDocumentor/Reflection/DocBlock4/autoload.php

References

Summary

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