How To Install php-doctrine-event-manager on Fedora 36

In this tutorial we learn how to install php-doctrine-event-manager in Fedora 36. php-doctrine-event-manager is Simple PHP event system

Introduction

In this tutorial we learn how to install php-doctrine-event-manager on Fedora 36.

What is php-doctrine-event-manager

The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects. Autoloader

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

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

sudo dnf -y install php-doctrine-event-manager

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

sudo yum -y install php-doctrine-event-manager

How To Uninstall php-doctrine-event-manager on Fedora 36

To uninstall only the php-doctrine-event-manager package we can use the following command:

sudo dnf remove php-doctrine-event-manager

php-doctrine-event-manager Package Contents on Fedora 36

/usr/share/doc/php-doctrine-event-manager
/usr/share/doc/php-doctrine-event-manager/README.md
/usr/share/doc/php-doctrine-event-manager/composer.json
/usr/share/licenses/php-doctrine-event-manager
/usr/share/licenses/php-doctrine-event-manager/LICENSE
/usr/share/php/Doctrine
/usr/share/php/Doctrine/Common
/usr/share/php/Doctrine/Common/EventArgs.php
/usr/share/php/Doctrine/Common/EventManager
/usr/share/php/Doctrine/Common/EventManager.php
/usr/share/php/Doctrine/Common/EventManager/autoload.php
/usr/share/php/Doctrine/Common/EventSubscriber.php

References

Summary

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