How To Install php-ocramius-lazy-map on Fedora 36

In this tutorial we learn how to install php-ocramius-lazy-map in Fedora 36. php-ocramius-lazy-map is Lazy instantiation logic for a map of objects

Introduction

In this tutorial we learn how to install php-ocramius-lazy-map on Fedora 36.

What is php-ocramius-lazy-map

This small library aims at providing a very simple and efficient map of lazy-instantiating objects.

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

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

sudo dnf -y install php-ocramius-lazy-map

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

sudo yum -y install php-ocramius-lazy-map

How To Uninstall php-ocramius-lazy-map on Fedora 36

To uninstall only the php-ocramius-lazy-map package we can use the following command:

sudo dnf remove php-ocramius-lazy-map

php-ocramius-lazy-map Package Contents on Fedora 36

/usr/share/doc/php-ocramius-lazy-map
/usr/share/doc/php-ocramius-lazy-map/CONTRIBUTING.md
/usr/share/doc/php-ocramius-lazy-map/README.md
/usr/share/licenses/php-ocramius-lazy-map
/usr/share/licenses/php-ocramius-lazy-map/LICENSE
/usr/share/php/LazyMap
/usr/share/php/LazyMap/AbstractLazyMap.php
/usr/share/php/LazyMap/CallbackLazyMap.php

References

Summary

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