How To Install php-psr-http-factory on Fedora 36
Introduction
In this tutorial we learn how to install php-psr-http-factory
on Fedora 36.
What is php-psr-http-factory
This package holds all interfaces related to PSR-17 (HTTP Message Factories). Please refer to the specification for a description https Autoloader
We can use yum
or dnf
to install php-psr-http-factory
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-psr-http-factory.
Install php-psr-http-factory 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-psr-http-factory
using dnf
by running the following command:
sudo dnf -y install php-psr-http-factory
Install php-psr-http-factory 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-psr-http-factory
using yum
by running the following command:
sudo yum -y install php-psr-http-factory
How To Uninstall php-psr-http-factory on Fedora 36
To uninstall only the php-psr-http-factory
package we can use the following command:
sudo dnf remove php-psr-http-factory
php-psr-http-factory Package Contents on Fedora 36
/usr/share/doc/php-psr-http-factory
/usr/share/doc/php-psr-http-factory/README.md
/usr/share/doc/php-psr-http-factory/composer.json
/usr/share/licenses/php-psr-http-factory
/usr/share/licenses/php-psr-http-factory/LICENSE
/usr/share/php/Psr/Http/Message/RequestFactoryInterface.php
/usr/share/php/Psr/Http/Message/ResponseFactoryInterface.php
/usr/share/php/Psr/Http/Message/ServerRequestFactoryInterface.php
/usr/share/php/Psr/Http/Message/StreamFactoryInterface.php
/usr/share/php/Psr/Http/Message/UploadedFileFactoryInterface.php
/usr/share/php/Psr/Http/Message/UriFactoryInterface.php
/usr/share/php/Psr/Http/Message/http-factory-autoload.php
References
Summary
In this tutorial we learn how to install php-psr-http-factory
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).