How To Install php-nyholm-psr7 on Fedora 36
Introduction
In this tutorial we learn how to install php-nyholm-psr7
on Fedora 36.
What is php-nyholm-psr7
A super lightweight PSR-7 implementation. Very strict and very fast.. Autoloader
We can use yum
or dnf
to install php-nyholm-psr7
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-nyholm-psr7.
Install php-nyholm-psr7 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-nyholm-psr7
using dnf
by running the following command:
sudo dnf -y install php-nyholm-psr7
Install php-nyholm-psr7 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-nyholm-psr7
using yum
by running the following command:
sudo yum -y install php-nyholm-psr7
How To Uninstall php-nyholm-psr7 on Fedora 36
To uninstall only the php-nyholm-psr7
package we can use the following command:
sudo dnf remove php-nyholm-psr7
php-nyholm-psr7 Package Contents on Fedora 36
/usr/share/doc/php-nyholm-psr7
/usr/share/doc/php-nyholm-psr7/CHANGELOG.md
/usr/share/doc/php-nyholm-psr7/README.md
/usr/share/doc/php-nyholm-psr7/composer.json
/usr/share/licenses/php-nyholm-psr7
/usr/share/licenses/php-nyholm-psr7/LICENSE
/usr/share/php/Nyholm
/usr/share/php/Nyholm/Psr7
/usr/share/php/Nyholm/Psr7/Factory
/usr/share/php/Nyholm/Psr7/Factory/HttplugFactory.php
/usr/share/php/Nyholm/Psr7/Factory/Psr17Factory.php
/usr/share/php/Nyholm/Psr7/MessageTrait.php
/usr/share/php/Nyholm/Psr7/Request.php
/usr/share/php/Nyholm/Psr7/RequestTrait.php
/usr/share/php/Nyholm/Psr7/Response.php
/usr/share/php/Nyholm/Psr7/ServerRequest.php
/usr/share/php/Nyholm/Psr7/Stream.php
/usr/share/php/Nyholm/Psr7/UploadedFile.php
/usr/share/php/Nyholm/Psr7/Uri.php
/usr/share/php/Nyholm/Psr7/autoload.php
References
Summary
In this tutorial we learn how to install php-nyholm-psr7
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).