How To Install php-doctrine-inflector on Fedora 36

In this tutorial we learn how to install php-doctrine-inflector in Fedora 36. php-doctrine-inflector is Common string manipulations with regard to casing and singular/plural rules

Introduction

In this tutorial we learn how to install php-doctrine-inflector on Fedora 36.

What is php-doctrine-inflector

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-inflector on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-doctrine-inflector.

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

sudo dnf -y install php-doctrine-inflector

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

sudo yum -y install php-doctrine-inflector

How To Uninstall php-doctrine-inflector on Fedora 36

To uninstall only the php-doctrine-inflector package we can use the following command:

sudo dnf remove php-doctrine-inflector

php-doctrine-inflector Package Contents on Fedora 36

/usr/share/doc/php-doctrine-inflector
/usr/share/doc/php-doctrine-inflector/README.md
/usr/share/doc/php-doctrine-inflector/composer.json
/usr/share/licenses/php-doctrine-inflector
/usr/share/licenses/php-doctrine-inflector/LICENSE
/usr/share/php/Doctrine
/usr/share/php/Doctrine/Common
/usr/share/php/Doctrine/Common/Inflector
/usr/share/php/Doctrine/Common/Inflector/Inflector.php
/usr/share/php/Doctrine/Common/Inflector/autoload.php
/usr/share/php/Doctrine/Inflector
/usr/share/php/Doctrine/Inflector/CachedWordInflector.php
/usr/share/php/Doctrine/Inflector/GenericLanguageInflectorFactory.php
/usr/share/php/Doctrine/Inflector/Inflector.php
/usr/share/php/Doctrine/Inflector/InflectorFactory.php
/usr/share/php/Doctrine/Inflector/Language.php
/usr/share/php/Doctrine/Inflector/LanguageInflectorFactory.php
/usr/share/php/Doctrine/Inflector/NoopWordInflector.php
/usr/share/php/Doctrine/Inflector/Rules
/usr/share/php/Doctrine/Inflector/Rules/English
/usr/share/php/Doctrine/Inflector/Rules/English/Inflectible.php
/usr/share/php/Doctrine/Inflector/Rules/English/InflectorFactory.php
/usr/share/php/Doctrine/Inflector/Rules/English/Rules.php
/usr/share/php/Doctrine/Inflector/Rules/English/Uninflected.php
/usr/share/php/Doctrine/Inflector/Rules/French
/usr/share/php/Doctrine/Inflector/Rules/French/Inflectible.php
/usr/share/php/Doctrine/Inflector/Rules/French/InflectorFactory.php
/usr/share/php/Doctrine/Inflector/Rules/French/Rules.php
/usr/share/php/Doctrine/Inflector/Rules/French/Uninflected.php
/usr/share/php/Doctrine/Inflector/Rules/NorwegianBokmal
/usr/share/php/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php
/usr/share/php/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php
/usr/share/php/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php
/usr/share/php/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
/usr/share/php/Doctrine/Inflector/Rules/Pattern.php
/usr/share/php/Doctrine/Inflector/Rules/Patterns.php
/usr/share/php/Doctrine/Inflector/Rules/Portuguese
/usr/share/php/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
/usr/share/php/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php
/usr/share/php/Doctrine/Inflector/Rules/Portuguese/Rules.php
/usr/share/php/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
/usr/share/php/Doctrine/Inflector/Rules/Ruleset.php
/usr/share/php/Doctrine/Inflector/Rules/Spanish
/usr/share/php/Doctrine/Inflector/Rules/Spanish/Inflectible.php
/usr/share/php/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php
/usr/share/php/Doctrine/Inflector/Rules/Spanish/Rules.php
/usr/share/php/Doctrine/Inflector/Rules/Spanish/Uninflected.php
/usr/share/php/Doctrine/Inflector/Rules/Substitution.php
/usr/share/php/Doctrine/Inflector/Rules/Substitutions.php
/usr/share/php/Doctrine/Inflector/Rules/Transformation.php
/usr/share/php/Doctrine/Inflector/Rules/Transformations.php
/usr/share/php/Doctrine/Inflector/Rules/Turkish
/usr/share/php/Doctrine/Inflector/Rules/Turkish/Inflectible.php
/usr/share/php/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php
/usr/share/php/Doctrine/Inflector/Rules/Turkish/Rules.php
/usr/share/php/Doctrine/Inflector/Rules/Turkish/Uninflected.php
/usr/share/php/Doctrine/Inflector/Rules/Word.php
/usr/share/php/Doctrine/Inflector/RulesetInflector.php
/usr/share/php/Doctrine/Inflector/WordInflector.php

References

Summary

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