How To Install php-phpdocumentor-reflection1 on Fedora 36

In this tutorial we learn how to install php-phpdocumentor-reflection1 in Fedora 36. php-phpdocumentor-reflection1 is Reflection library to do Static Analysis for PHP Projects (Version 1)

Introduction

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

What is php-phpdocumentor-reflection1

Using this library it is possible to statically reflect one or more files and create an object graph representing your application’s structure, including accompanying in-source documentation using DocBlocks. The information that this library provides is similar to what the (built-in) Reflection extension of PHP provides; there are however several advantages to using this library * Due to its Static nature it does not execute procedural code in your reflected files where Dynamic Reflection does. * Because the none of the code is interpreted by PHP (and executed) Static Reflection uses less memory. * Can reflect complete files * Can reflect a whole project by reflecting multiple files. * Reflects the contents of a DocBlock instead of just mentioning there is one. * Is capable of analyzing code written for any PHP version (starting at 5.2) up to and including your installed PHP version. Features * [Creates an object graph] containing the structure of your application much like a site map shows the structure of a website. * Can read and interpret code of any PHP version starting with 5.2 up to and including your currently installed version of PHP. * Due it’s clean interface it can be in any application without a complex setup. Autoloader

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

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

sudo dnf -y install php-phpdocumentor-reflection1

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

sudo yum -y install php-phpdocumentor-reflection1

How To Uninstall php-phpdocumentor-reflection1 on Fedora 36

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

sudo dnf remove php-phpdocumentor-reflection1

php-phpdocumentor-reflection1 Package Contents on Fedora 36

/usr/share/doc/php-phpdocumentor-reflection1
/usr/share/doc/php-phpdocumentor-reflection1/README.md
/usr/share/doc/php-phpdocumentor-reflection1/composer.json
/usr/share/licenses/php-phpdocumentor-reflection1
/usr/share/licenses/php-phpdocumentor-reflection1/LICENSE
/usr/share/licenses/php-phpdocumentor-reflection1/LICENSE-PHPParser
/usr/share/php/phpDocumentor/Reflection1
/usr/share/php/phpDocumentor/Reflection1/BaseReflector.php
/usr/share/php/phpDocumentor/Reflection1/ClassReflector
/usr/share/php/phpDocumentor/Reflection1/ClassReflector.php
/usr/share/php/phpDocumentor/Reflection1/ClassReflector/ConstantReflector.php
/usr/share/php/phpDocumentor/Reflection1/ClassReflector/MethodReflector.php
/usr/share/php/phpDocumentor/Reflection1/ClassReflector/PropertyReflector.php
/usr/share/php/phpDocumentor/Reflection1/ConstantReflector.php
/usr/share/php/phpDocumentor/Reflection1/Event
/usr/share/php/phpDocumentor/Reflection1/Event/ExportDocBlockTagEvent.php
/usr/share/php/phpDocumentor/Reflection1/Event/PostDocBlockExtractionEvent.php
/usr/share/php/phpDocumentor/Reflection1/Exception
/usr/share/php/phpDocumentor/Reflection1/Exception.php
/usr/share/php/phpDocumentor/Reflection1/Exception/UnparsableFile.php
/usr/share/php/phpDocumentor/Reflection1/Exception/UnreadableFile.php
/usr/share/php/phpDocumentor/Reflection1/FileReflector.php
/usr/share/php/phpDocumentor/Reflection1/FunctionReflector
/usr/share/php/phpDocumentor/Reflection1/FunctionReflector.php
/usr/share/php/phpDocumentor/Reflection1/FunctionReflector/ArgumentReflector.php
/usr/share/php/phpDocumentor/Reflection1/IncludeReflector.php
/usr/share/php/phpDocumentor/Reflection1/InterfaceReflector.php
/usr/share/php/phpDocumentor/Reflection1/Lexer.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Autoloader.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Builder
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Builder.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Builder/Class.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Builder/Function.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Builder/Interface.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Builder/Method.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Builder/Param.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Builder/Property.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/BuilderAbstract.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/BuilderFactory.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Comment
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Comment.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Comment/Doc.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Error.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Lexer
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Lexer.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Lexer/Emulative.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Arg.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Const.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Array.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ArrayDimFetch.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ArrayItem.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Assign.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignBitwiseAnd.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignBitwiseOr.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignBitwiseXor.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignConcat.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignDiv.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignMinus.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignMod.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignMul.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignPlus.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignRef.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignShiftLeft.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/AssignShiftRight.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/BitwiseAnd.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/BitwiseNot.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/BitwiseOr.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/BitwiseXor.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/BooleanAnd.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/BooleanNot.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/BooleanOr.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast/Array.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast/Bool.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast/Double.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast/Int.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast/Object.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast/String.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Cast/Unset.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ClassConstFetch.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Clone.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Closure.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ClosureUse.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Concat.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ConstFetch.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Div.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Empty.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Equal.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ErrorSuppress.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Eval.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Exit.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/FuncCall.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Greater.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/GreaterOrEqual.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Identical.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Include.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Instanceof.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Isset.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/List.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/LogicalAnd.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/LogicalOr.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/LogicalXor.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/MethodCall.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Minus.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Mod.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Mul.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/New.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/NotEqual.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/NotIdentical.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Plus.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/PostDec.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/PostInc.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/PreDec.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/PreInc.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Print.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/PropertyFetch.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ShellExec.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ShiftLeft.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/ShiftRight.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Smaller.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/SmallerOrEqual.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/StaticCall.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/StaticPropertyFetch.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Ternary.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/UnaryMinus.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/UnaryPlus.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Variable.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Expr/Yield.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Name
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Name.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Name/FullyQualified.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Name/Relative.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Param.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/ClassConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/DNumber.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/DirConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/Encapsed.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/FileConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/FuncConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/LNumber.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/LineConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/MethodConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/NSConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/String.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Scalar/TraitConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Break.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Case.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Catch.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Class.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/ClassConst.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/ClassMethod.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Const.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Continue.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Declare.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/DeclareDeclare.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Do.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Echo.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Else.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/ElseIf.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/For.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Foreach.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Function.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Global.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Goto.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/HaltCompiler.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/If.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/InlineHTML.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Interface.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Label.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Namespace.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Property.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/PropertyProperty.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Return.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Static.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/StaticVar.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Switch.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Throw.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Trait.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/TraitUse.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/TraitUseAdaptation
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/TraitUseAdaptation.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/TraitUseAdaptation/Alias.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/TraitUseAdaptation/Precedence.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/TryCatch.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Unset.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/Use.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/UseUse.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Node/Stmt/While.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/NodeAbstract.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/NodeDumper.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/NodeTraverser.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/NodeTraverserInterface.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/NodeVisitor
/usr/share/php/phpDocumentor/Reflection1/PHPParser/NodeVisitor.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/NodeVisitor/NameResolver.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/NodeVisitorAbstract.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Parser.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/PrettyPrinter
/usr/share/php/phpDocumentor/Reflection1/PHPParser/PrettyPrinter/Default.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/PrettyPrinter/Zend.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/PrettyPrinterAbstract.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Serializer
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Serializer.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Serializer/XML.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Template.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/TemplateLoader.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Unserializer
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Unserializer.php
/usr/share/php/phpDocumentor/Reflection1/PHPParser/Unserializer/XML.php
/usr/share/php/phpDocumentor/Reflection1/PrettyPrinter.php
/usr/share/php/phpDocumentor/Reflection1/ReflectionAbstract.php
/usr/share/php/phpDocumentor/Reflection1/TraitReflector.php
/usr/share/php/phpDocumentor/Reflection1/Traverser.php
/usr/share/php/phpDocumentor/Reflection1/autoload.php

References

Summary

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