How To Install php-symfony-polyfill on Fedora 36

In this tutorial we learn how to install php-symfony-polyfill in Fedora 36. php-symfony-polyfill is Symfony polyfills backporting features to lower PHP versions

Introduction

In this tutorial we learn how to install php-symfony-polyfill on Fedora 36.

What is php-symfony-polyfill

Symfony polyfills backporting features to lower PHP versions. Autoloader

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

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

sudo dnf -y install php-symfony-polyfill

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

sudo yum -y install php-symfony-polyfill

How To Uninstall php-symfony-polyfill on Fedora 36

To uninstall only the php-symfony-polyfill package we can use the following command:

sudo dnf remove php-symfony-polyfill

php-symfony-polyfill Package Contents on Fedora 36

/usr/share/doc/php-symfony-polyfill
/usr/share/doc/php-symfony-polyfill/CHANGELOG.md
/usr/share/doc/php-symfony-polyfill/Mbstring
/usr/share/doc/php-symfony-polyfill/Mbstring/README.md
/usr/share/doc/php-symfony-polyfill/Mbstring/composer.json
/usr/share/doc/php-symfony-polyfill/Php72
/usr/share/doc/php-symfony-polyfill/Php72/README.md
/usr/share/doc/php-symfony-polyfill/Php72/composer.json
/usr/share/doc/php-symfony-polyfill/Php73
/usr/share/doc/php-symfony-polyfill/Php73/README.md
/usr/share/doc/php-symfony-polyfill/Php73/composer.json
/usr/share/doc/php-symfony-polyfill/Php74
/usr/share/doc/php-symfony-polyfill/Php74/README.md
/usr/share/doc/php-symfony-polyfill/Php74/composer.json
/usr/share/doc/php-symfony-polyfill/Php80
/usr/share/doc/php-symfony-polyfill/Php80/README.md
/usr/share/doc/php-symfony-polyfill/Php80/composer.json
/usr/share/doc/php-symfony-polyfill/Php81
/usr/share/doc/php-symfony-polyfill/Php81/README.md
/usr/share/doc/php-symfony-polyfill/Php81/composer.json
/usr/share/doc/php-symfony-polyfill/README.md
/usr/share/doc/php-symfony-polyfill/Util
/usr/share/doc/php-symfony-polyfill/Util/README.md
/usr/share/doc/php-symfony-polyfill/Util/composer.json
/usr/share/doc/php-symfony-polyfill/composer.json
/usr/share/licenses/php-symfony-polyfill
/usr/share/licenses/php-symfony-polyfill/LICENSE
/usr/share/php/Symfony
/usr/share/php/Symfony/Polyfill
/usr/share/php/Symfony/Polyfill/Mbstring
/usr/share/php/Symfony/Polyfill/Mbstring/Mbstring.php
/usr/share/php/Symfony/Polyfill/Mbstring/Resources
/usr/share/php/Symfony/Polyfill/Mbstring/Resources/unidata
/usr/share/php/Symfony/Polyfill/Mbstring/Resources/unidata/lowerCase.php
/usr/share/php/Symfony/Polyfill/Mbstring/Resources/unidata/titleCaseRegexp.php
/usr/share/php/Symfony/Polyfill/Mbstring/Resources/unidata/upperCase.php
/usr/share/php/Symfony/Polyfill/Mbstring/bootstrap.php
/usr/share/php/Symfony/Polyfill/Mbstring/bootstrap80.php
/usr/share/php/Symfony/Polyfill/Php72
/usr/share/php/Symfony/Polyfill/Php72/Php72.php
/usr/share/php/Symfony/Polyfill/Php72/bootstrap.php
/usr/share/php/Symfony/Polyfill/Php73
/usr/share/php/Symfony/Polyfill/Php73/Php73.php
/usr/share/php/Symfony/Polyfill/Php73/Resources
/usr/share/php/Symfony/Polyfill/Php73/Resources/stubs
/usr/share/php/Symfony/Polyfill/Php73/Resources/stubs/JsonException.php
/usr/share/php/Symfony/Polyfill/Php73/bootstrap.php
/usr/share/php/Symfony/Polyfill/Php74
/usr/share/php/Symfony/Polyfill/Php74/Php74.php
/usr/share/php/Symfony/Polyfill/Php74/bootstrap.php
/usr/share/php/Symfony/Polyfill/Php80
/usr/share/php/Symfony/Polyfill/Php80/Php80.php
/usr/share/php/Symfony/Polyfill/Php80/PhpToken.php
/usr/share/php/Symfony/Polyfill/Php80/Resources
/usr/share/php/Symfony/Polyfill/Php80/Resources/stubs
/usr/share/php/Symfony/Polyfill/Php80/Resources/stubs/Attribute.php
/usr/share/php/Symfony/Polyfill/Php80/Resources/stubs/PhpToken.php
/usr/share/php/Symfony/Polyfill/Php80/Resources/stubs/Stringable.php
/usr/share/php/Symfony/Polyfill/Php80/Resources/stubs/UnhandledMatchError.php
/usr/share/php/Symfony/Polyfill/Php80/Resources/stubs/ValueError.php
/usr/share/php/Symfony/Polyfill/Php80/bootstrap.php
/usr/share/php/Symfony/Polyfill/Php81
/usr/share/php/Symfony/Polyfill/Php81/Php81.php
/usr/share/php/Symfony/Polyfill/Php81/Resources
/usr/share/php/Symfony/Polyfill/Php81/Resources/stubs
/usr/share/php/Symfony/Polyfill/Php81/Resources/stubs/ReturnTypeWillChange.php
/usr/share/php/Symfony/Polyfill/Php81/bootstrap.php
/usr/share/php/Symfony/Polyfill/Util
/usr/share/php/Symfony/Polyfill/Util/Binary.php
/usr/share/php/Symfony/Polyfill/Util/BinaryNoFuncOverload.php
/usr/share/php/Symfony/Polyfill/Util/BinaryOnFuncOverload.php
/usr/share/php/Symfony/Polyfill/Util/TestListener.php
/usr/share/php/Symfony/Polyfill/Util/TestListenerForV7.php
/usr/share/php/Symfony/Polyfill/Util/TestListenerForV9.php
/usr/share/php/Symfony/Polyfill/Util/TestListenerTrait.php
/usr/share/php/Symfony/Polyfill/autoload.php
/usr/share/php/Symfony/Polyfill/bootstrap.php

References

Summary

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