How To Install php-psr-event-dispatcher on Fedora 36

In this tutorial we learn how to install php-psr-event-dispatcher in Fedora 36. php-psr-event-dispatcher is Standard interfaces for event handling

Introduction

In this tutorial we learn how to install php-psr-event-dispatcher on Fedora 36.

What is php-psr-event-dispatcher

This repository holds all interfaces related to PSR-14 (Event Dispatcher). Please refer to the specification for a description https Autoloader

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

Install php-psr-event-dispatcher 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-event-dispatcher using dnf by running the following command:

sudo dnf -y install php-psr-event-dispatcher

Install php-psr-event-dispatcher 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-event-dispatcher using yum by running the following command:

sudo yum -y install php-psr-event-dispatcher

How To Uninstall php-psr-event-dispatcher on Fedora 36

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

sudo dnf remove php-psr-event-dispatcher

php-psr-event-dispatcher Package Contents on Fedora 36

/usr/share/doc/php-psr-event-dispatcher
/usr/share/doc/php-psr-event-dispatcher/README.md
/usr/share/doc/php-psr-event-dispatcher/composer.json
/usr/share/licenses/php-psr-event-dispatcher
/usr/share/licenses/php-psr-event-dispatcher/LICENSE
/usr/share/php/Psr
/usr/share/php/Psr/EventDispatcher
/usr/share/php/Psr/EventDispatcher/EventDispatcherInterface.php
/usr/share/php/Psr/EventDispatcher/ListenerProviderInterface.php
/usr/share/php/Psr/EventDispatcher/StoppableEventInterface.php
/usr/share/php/Psr/EventDispatcher/autoload.php

References

Summary

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