How To Install php-guzzlehttp-ringphp on CentOS 7

In this tutorial we learn how to install php-guzzlehttp-ringphp on CentOS 7. php-guzzlehttp-ringphp is Simple handler system used to power clients and servers in PHP

Introduction

In this tutorial we learn how to install php-guzzlehttp-ringphp on CentOS 7.

What is php-guzzlehttp-ringphp

Provides low level APIs used to power HTTP clients and servers through a simple, PHP callable that accepts a request hash and returns a future response hash. RingPHP supports both synchronous and asynchronous workflows by utilizing both futures and promises [1]. RingPHP is inspired by Clojure’s Ring [2], but has been modified to accommodate clients and servers for both blocking and non-blocking requests. [1] https [2] https

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

Install php-guzzlehttp-ringphp on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install php-guzzlehttp-ringphp

Install php-guzzlehttp-ringphp on CentOS 7 Using dnf

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-guzzlehttp-ringphp using dnf by running the following command:

sudo dnf -y install php-guzzlehttp-ringphp

How To Uninstall php-guzzlehttp-ringphp on CentOS 7

To uninstall only the php-guzzlehttp-ringphp package we can use the following command:

sudo dnf remove php-guzzlehttp-ringphp

References

Summary

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