How To Install php-psr-link on CentOS 7

In this tutorial we learn how to install php-psr-link on CentOS 7. php-psr-link is Common interfaces for HTTP links (PSR-13)

Introduction

In this tutorial we learn how to install php-psr-link on CentOS 7.

This package holds all interfaces/classes/traits related to PSR-13 [1]. Note that this is not an HTTP link implementation of its own. It is merely an interface that describes an HTTP link. See the specification for more details. Autoloader [1] https

We can use yum or dnf to install php-psr-link on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-psr-link.

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install php-psr-link using yum by running the following command:

sudo yum -y install php-psr-link

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install php-psr-link using dnf by running the following command:

sudo dnf -y install php-psr-link

To uninstall only the php-psr-link package we can use the following command:

sudo dnf remove php-psr-link

References

Summary

In this tutorial we learn how to install php-psr-link on CentOS 7 using yum and dnf.