How To Install php-webimpress-http-middleware-compatibility on Fedora 36

In this tutorial we learn how to install php-webimpress-http-middleware-compatibility in Fedora 36. php-webimpress-http-middleware-compatibility is Compatibility library for Draft PSR-15 HTTP Middleware

Introduction

In this tutorial we learn how to install php-webimpress-http-middleware-compatibility on Fedora 36.

What is php-webimpress-http-middleware-compatibility

The purpose of the library is to deliver consistent interface for different versions of http-interop/http-middleware which implements Draft of PSR-15 HTTP Middleware. Many projects currently use different version of library http-interop/http-middleware and updating to newest version requires usually major release. The library lets consumers of your component decide what version of http-interop/http-middleware they want to use and allow them to migrate to the latest version at any time. Autoloader

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

Install php-webimpress-http-middleware-compatibility 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-webimpress-http-middleware-compatibility using dnf by running the following command:

sudo dnf -y install php-webimpress-http-middleware-compatibility

Install php-webimpress-http-middleware-compatibility 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-webimpress-http-middleware-compatibility using yum by running the following command:

sudo yum -y install php-webimpress-http-middleware-compatibility

How To Uninstall php-webimpress-http-middleware-compatibility on Fedora 36

To uninstall only the php-webimpress-http-middleware-compatibility package we can use the following command:

sudo dnf remove php-webimpress-http-middleware-compatibility

php-webimpress-http-middleware-compatibility Package Contents on Fedora 36

/usr/share/doc/php-webimpress-http-middleware-compatibility
/usr/share/doc/php-webimpress-http-middleware-compatibility/CODE_OF_CONDUCT.md
/usr/share/doc/php-webimpress-http-middleware-compatibility/README.md
/usr/share/doc/php-webimpress-http-middleware-compatibility/composer.json
/usr/share/licenses/php-webimpress-http-middleware-compatibility
/usr/share/licenses/php-webimpress-http-middleware-compatibility/LICENSE
/usr/share/php/webimpress
/usr/share/php/webimpress/http-middleware-compatibility
/usr/share/php/webimpress/http-middleware-compatibility/autoload.php
/usr/share/php/webimpress/http-middleware-compatibility/http-middleware.php

References

Summary

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