How To Install php-when on Fedora 36

In this tutorial we learn how to install php-when in Fedora 36. php-when is Date/Calendar recursion library for PHP

Introduction

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

What is php-when

Date/Calendar recursion library for PHP. Autoloader

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

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

sudo dnf -y install php-when

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

sudo yum -y install php-when

How To Uninstall php-when on Fedora 36

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

sudo dnf remove php-when

php-when Package Contents on Fedora 36

/usr/share/doc/php-when
/usr/share/doc/php-when/README.md
/usr/share/doc/php-when/composer.json
/usr/share/licenses/php-when
/usr/share/licenses/php-when/LICENSE
/usr/share/php/When
/usr/share/php/When/Valid.php
/usr/share/php/When/When.php
/usr/share/php/When/autoload.php

References

Summary

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