How To Install php-doctrine-instantiator on Fedora 36
Introduction
In this tutorial we learn how to install php-doctrine-instantiator
on Fedora 36.
What is php-doctrine-instantiator
This library provides a way of avoiding usage of constructors when instantiating PHP classes.
We can use yum
or dnf
to install php-doctrine-instantiator
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-doctrine-instantiator.
Install php-doctrine-instantiator 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-doctrine-instantiator
using dnf
by running the following command:
sudo dnf -y install php-doctrine-instantiator
Install php-doctrine-instantiator 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-doctrine-instantiator
using yum
by running the following command:
sudo yum -y install php-doctrine-instantiator
How To Uninstall php-doctrine-instantiator on Fedora 36
To uninstall only the php-doctrine-instantiator
package we can use the following command:
sudo dnf remove php-doctrine-instantiator
php-doctrine-instantiator Package Contents on Fedora 36
/usr/share/doc/php-doctrine-instantiator
/usr/share/doc/php-doctrine-instantiator/CONTRIBUTING.md
/usr/share/doc/php-doctrine-instantiator/README.md
/usr/share/doc/php-doctrine-instantiator/composer.json
/usr/share/licenses/php-doctrine-instantiator
/usr/share/licenses/php-doctrine-instantiator/LICENSE
/usr/share/php/Doctrine
/usr/share/php/Doctrine/Instantiator
/usr/share/php/Doctrine/Instantiator/Exception
/usr/share/php/Doctrine/Instantiator/Exception/ExceptionInterface.php
/usr/share/php/Doctrine/Instantiator/Exception/InvalidArgumentException.php
/usr/share/php/Doctrine/Instantiator/Exception/UnexpectedValueException.php
/usr/share/php/Doctrine/Instantiator/Instantiator.php
/usr/share/php/Doctrine/Instantiator/InstantiatorInterface.php
/usr/share/php/Doctrine/Instantiator/autoload.php
References
Summary
In this tutorial we learn how to install php-doctrine-instantiator
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).