How To Install php-react-promise on Fedora 36

In this tutorial we learn how to install php-react-promise in Fedora 36. php-react-promise is A lightweight implementation of CommonJS Promises/A for PHP

Introduction

In this tutorial we learn how to install php-react-promise on Fedora 36.

What is php-react-promise

A lightweight implementation of CommonJS Promises/A [1] for PHP. Autoloader [1] http

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

Install php-react-promise 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-react-promise using dnf by running the following command:

sudo dnf -y install php-react-promise

Install php-react-promise 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-react-promise using yum by running the following command:

sudo yum -y install php-react-promise

How To Uninstall php-react-promise on Fedora 36

To uninstall only the php-react-promise package we can use the following command:

sudo dnf remove php-react-promise

php-react-promise Package Contents on Fedora 36

/usr/share/doc/php-react-promise
/usr/share/doc/php-react-promise/CHANGELOG.md
/usr/share/doc/php-react-promise/README.md
/usr/share/doc/php-react-promise/composer.json
/usr/share/licenses/php-react-promise
/usr/share/licenses/php-react-promise/LICENSE
/usr/share/php/React
/usr/share/php/React/Promise
/usr/share/php/React/Promise/CancellablePromiseInterface.php
/usr/share/php/React/Promise/CancellationQueue.php
/usr/share/php/React/Promise/Deferred.php
/usr/share/php/React/Promise/Exception
/usr/share/php/React/Promise/Exception/LengthException.php
/usr/share/php/React/Promise/ExtendedPromiseInterface.php
/usr/share/php/React/Promise/FulfilledPromise.php
/usr/share/php/React/Promise/LazyPromise.php
/usr/share/php/React/Promise/Promise.php
/usr/share/php/React/Promise/PromiseInterface.php
/usr/share/php/React/Promise/PromisorInterface.php
/usr/share/php/React/Promise/RejectedPromise.php
/usr/share/php/React/Promise/UnhandledRejectionException.php
/usr/share/php/React/Promise/autoload.php
/usr/share/php/React/Promise/functions.php
/usr/share/php/React/Promise/functions_include.php

References

Summary

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