How To Install php-doctrine-inflector2 on Fedora 36
Introduction
In this tutorial we learn how to install php-doctrine-inflector2
on Fedora 36.
What is php-doctrine-inflector2
Doctrine Inflector is a small library that can perform string manipulations with regard to upper-/lowercase and singular/plural forms of words. Autoloader
We can use yum
or dnf
to install php-doctrine-inflector2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-doctrine-inflector2.
Install php-doctrine-inflector2 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-inflector2
using dnf
by running the following command:
sudo dnf -y install php-doctrine-inflector2
Install php-doctrine-inflector2 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-inflector2
using yum
by running the following command:
sudo yum -y install php-doctrine-inflector2
How To Uninstall php-doctrine-inflector2 on Fedora 36
To uninstall only the php-doctrine-inflector2
package we can use the following command:
sudo dnf remove php-doctrine-inflector2
php-doctrine-inflector2 Package Contents on Fedora 36
/usr/share/doc/php-doctrine-inflector2
/usr/share/doc/php-doctrine-inflector2/README.md
/usr/share/doc/php-doctrine-inflector2/composer.json
/usr/share/licenses/php-doctrine-inflector2
/usr/share/licenses/php-doctrine-inflector2/LICENSE
/usr/share/php/Doctrine
/usr/share/php/Doctrine/Inflector2
/usr/share/php/Doctrine/Inflector2/CachedWordInflector.php
/usr/share/php/Doctrine/Inflector2/GenericLanguageInflectorFactory.php
/usr/share/php/Doctrine/Inflector2/Inflector.php
/usr/share/php/Doctrine/Inflector2/InflectorFactory.php
/usr/share/php/Doctrine/Inflector2/Language.php
/usr/share/php/Doctrine/Inflector2/LanguageInflectorFactory.php
/usr/share/php/Doctrine/Inflector2/NoopWordInflector.php
/usr/share/php/Doctrine/Inflector2/Rules
/usr/share/php/Doctrine/Inflector2/Rules/English
/usr/share/php/Doctrine/Inflector2/Rules/English/Inflectible.php
/usr/share/php/Doctrine/Inflector2/Rules/English/InflectorFactory.php
/usr/share/php/Doctrine/Inflector2/Rules/English/Rules.php
/usr/share/php/Doctrine/Inflector2/Rules/English/Uninflected.php
/usr/share/php/Doctrine/Inflector2/Rules/French
/usr/share/php/Doctrine/Inflector2/Rules/French/Inflectible.php
/usr/share/php/Doctrine/Inflector2/Rules/French/InflectorFactory.php
/usr/share/php/Doctrine/Inflector2/Rules/French/Rules.php
/usr/share/php/Doctrine/Inflector2/Rules/French/Uninflected.php
/usr/share/php/Doctrine/Inflector2/Rules/NorwegianBokmal
/usr/share/php/Doctrine/Inflector2/Rules/NorwegianBokmal/Inflectible.php
/usr/share/php/Doctrine/Inflector2/Rules/NorwegianBokmal/InflectorFactory.php
/usr/share/php/Doctrine/Inflector2/Rules/NorwegianBokmal/Rules.php
/usr/share/php/Doctrine/Inflector2/Rules/NorwegianBokmal/Uninflected.php
/usr/share/php/Doctrine/Inflector2/Rules/Pattern.php
/usr/share/php/Doctrine/Inflector2/Rules/Patterns.php
/usr/share/php/Doctrine/Inflector2/Rules/Portuguese
/usr/share/php/Doctrine/Inflector2/Rules/Portuguese/Inflectible.php
/usr/share/php/Doctrine/Inflector2/Rules/Portuguese/InflectorFactory.php
/usr/share/php/Doctrine/Inflector2/Rules/Portuguese/Rules.php
/usr/share/php/Doctrine/Inflector2/Rules/Portuguese/Uninflected.php
/usr/share/php/Doctrine/Inflector2/Rules/Ruleset.php
/usr/share/php/Doctrine/Inflector2/Rules/Spanish
/usr/share/php/Doctrine/Inflector2/Rules/Spanish/Inflectible.php
/usr/share/php/Doctrine/Inflector2/Rules/Spanish/InflectorFactory.php
/usr/share/php/Doctrine/Inflector2/Rules/Spanish/Rules.php
/usr/share/php/Doctrine/Inflector2/Rules/Spanish/Uninflected.php
/usr/share/php/Doctrine/Inflector2/Rules/Substitution.php
/usr/share/php/Doctrine/Inflector2/Rules/Substitutions.php
/usr/share/php/Doctrine/Inflector2/Rules/Transformation.php
/usr/share/php/Doctrine/Inflector2/Rules/Transformations.php
/usr/share/php/Doctrine/Inflector2/Rules/Turkish
/usr/share/php/Doctrine/Inflector2/Rules/Turkish/Inflectible.php
/usr/share/php/Doctrine/Inflector2/Rules/Turkish/InflectorFactory.php
/usr/share/php/Doctrine/Inflector2/Rules/Turkish/Rules.php
/usr/share/php/Doctrine/Inflector2/Rules/Turkish/Uninflected.php
/usr/share/php/Doctrine/Inflector2/Rules/Word.php
/usr/share/php/Doctrine/Inflector2/RulesetInflector.php
/usr/share/php/Doctrine/Inflector2/WordInflector.php
/usr/share/php/Doctrine/Inflector2/autoload.php
References
Summary
In this tutorial we learn how to install php-doctrine-inflector2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).