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

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

Introduction

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

What is php-phpdocumentor-reflection-docblock

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.

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

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

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

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

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

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

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

sudo dnf remove php-phpdocumentor-reflection-docblock

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

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

References

Summary

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