How To Install php-laminas-uri on Fedora 36

In this tutorial we learn how to install php-laminas-uri in Fedora 36. php-laminas-uri is Laminas Framework Uri component

Introduction

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

What is php-laminas-uri

Laminas\Uri is a component that aids in manipulating and validating Uniform Resource Identifiers (URIs). Laminas\Uri exists primarily to service other components, such as Laminas\Http, but is also useful as a standalone utility. Documentation

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

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

sudo dnf -y install php-laminas-uri

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

sudo yum -y install php-laminas-uri

How To Uninstall php-laminas-uri on Fedora 36

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

sudo dnf remove php-laminas-uri

php-laminas-uri Package Contents on Fedora 36

/usr/share/doc/php-laminas-uri
/usr/share/doc/php-laminas-uri/COPYRIGHT.md
/usr/share/doc/php-laminas-uri/README.md
/usr/share/doc/php-laminas-uri/composer.json
/usr/share/licenses/php-laminas-uri
/usr/share/licenses/php-laminas-uri/LICENSE
/usr/share/php/Laminas/Uri
/usr/share/php/Laminas/Uri/Exception
/usr/share/php/Laminas/Uri/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Uri/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Uri/Exception/InvalidUriException.php
/usr/share/php/Laminas/Uri/Exception/InvalidUriPartException.php
/usr/share/php/Laminas/Uri/File.php
/usr/share/php/Laminas/Uri/Http.php
/usr/share/php/Laminas/Uri/Mailto.php
/usr/share/php/Laminas/Uri/Uri.php
/usr/share/php/Laminas/Uri/UriFactory.php
/usr/share/php/Laminas/Uri/UriInterface.php
/usr/share/php/Laminas/Uri/autoload.php
/usr/share/php/Zend/Uri
/usr/share/php/Zend/Uri/autoload.php

References

Summary

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