How To Install php-di-invoker on Fedora 36
Introduction
In this tutorial we learn how to install php-di-invoker
on Fedora 36.
What is php-di-invoker
Generic and extensible callable invoker. Autoloader
We can use yum
or dnf
to install php-di-invoker
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-di-invoker.
Install php-di-invoker 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-di-invoker
using dnf
by running the following command:
sudo dnf -y install php-di-invoker
Install php-di-invoker 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-di-invoker
using yum
by running the following command:
sudo yum -y install php-di-invoker
How To Uninstall php-di-invoker on Fedora 36
To uninstall only the php-di-invoker
package we can use the following command:
sudo dnf remove php-di-invoker
php-di-invoker Package Contents on Fedora 36
/usr/share/doc/php-di-invoker
/usr/share/doc/php-di-invoker/CONTRIBUTING.md
/usr/share/doc/php-di-invoker/README.md
/usr/share/doc/php-di-invoker/composer.json
/usr/share/licenses/php-di-invoker
/usr/share/licenses/php-di-invoker/LICENSE
/usr/share/php/Invoker
/usr/share/php/Invoker/CallableResolver.php
/usr/share/php/Invoker/Exception
/usr/share/php/Invoker/Exception/InvocationException.php
/usr/share/php/Invoker/Exception/NotCallableException.php
/usr/share/php/Invoker/Exception/NotEnoughParametersException.php
/usr/share/php/Invoker/Invoker.php
/usr/share/php/Invoker/InvokerInterface.php
/usr/share/php/Invoker/ParameterResolver
/usr/share/php/Invoker/ParameterResolver/AssociativeArrayResolver.php
/usr/share/php/Invoker/ParameterResolver/Container
/usr/share/php/Invoker/ParameterResolver/Container/ParameterNameContainerResolver.php
/usr/share/php/Invoker/ParameterResolver/Container/TypeHintContainerResolver.php
/usr/share/php/Invoker/ParameterResolver/DefaultValueResolver.php
/usr/share/php/Invoker/ParameterResolver/NumericArrayResolver.php
/usr/share/php/Invoker/ParameterResolver/ParameterResolver.php
/usr/share/php/Invoker/ParameterResolver/ResolverChain.php
/usr/share/php/Invoker/ParameterResolver/TypeHintResolver.php
/usr/share/php/Invoker/Reflection
/usr/share/php/Invoker/Reflection/CallableReflection.php
/usr/share/php/Invoker/autoload.php
References
Summary
In this tutorial we learn how to install php-di-invoker
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).