How To Install php-laminas-http on Fedora 36

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

Introduction

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

What is php-laminas-http

Laminas\Http is a primary foundational component of Laminas Framework. Since much of what PHP does is web-based, specifically HTTP, it makes sense to have a performant, extensible, concise and consistent API to do all things HTTP. Documentation

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

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

sudo dnf -y install php-laminas-http

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

sudo yum -y install php-laminas-http

How To Uninstall php-laminas-http on Fedora 36

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

sudo dnf remove php-laminas-http

php-laminas-http Package Contents on Fedora 36

/usr/share/doc/php-laminas-http
/usr/share/doc/php-laminas-http/COPYRIGHT.md
/usr/share/doc/php-laminas-http/README.md
/usr/share/doc/php-laminas-http/composer.json
/usr/share/licenses/php-laminas-http
/usr/share/licenses/php-laminas-http/LICENSE
/usr/share/php/Laminas/Http
/usr/share/php/Laminas/Http/AbstractMessage.php
/usr/share/php/Laminas/Http/Client
/usr/share/php/Laminas/Http/Client.php
/usr/share/php/Laminas/Http/Client/Adapter
/usr/share/php/Laminas/Http/Client/Adapter/AdapterInterface.php
/usr/share/php/Laminas/Http/Client/Adapter/Curl.php
/usr/share/php/Laminas/Http/Client/Adapter/Exception
/usr/share/php/Laminas/Http/Client/Adapter/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Http/Client/Adapter/Exception/InitializationException.php
/usr/share/php/Laminas/Http/Client/Adapter/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Http/Client/Adapter/Exception/OutOfRangeException.php
/usr/share/php/Laminas/Http/Client/Adapter/Exception/RuntimeException.php
/usr/share/php/Laminas/Http/Client/Adapter/Exception/TimeoutException.php
/usr/share/php/Laminas/Http/Client/Adapter/Proxy.php
/usr/share/php/Laminas/Http/Client/Adapter/Socket.php
/usr/share/php/Laminas/Http/Client/Adapter/StreamInterface.php
/usr/share/php/Laminas/Http/Client/Adapter/Test.php
/usr/share/php/Laminas/Http/Client/Exception
/usr/share/php/Laminas/Http/Client/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Http/Client/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Http/Client/Exception/OutOfRangeException.php
/usr/share/php/Laminas/Http/Client/Exception/RuntimeException.php
/usr/share/php/Laminas/Http/ClientStatic.php
/usr/share/php/Laminas/Http/Cookies.php
/usr/share/php/Laminas/Http/Exception
/usr/share/php/Laminas/Http/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Http/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Http/Exception/OutOfRangeException.php
/usr/share/php/Laminas/Http/Exception/RuntimeException.php
/usr/share/php/Laminas/Http/Header
/usr/share/php/Laminas/Http/Header/AbstractAccept.php
/usr/share/php/Laminas/Http/Header/AbstractDate.php
/usr/share/php/Laminas/Http/Header/AbstractLocation.php
/usr/share/php/Laminas/Http/Header/Accept
/usr/share/php/Laminas/Http/Header/Accept.php
/usr/share/php/Laminas/Http/Header/Accept/FieldValuePart
/usr/share/php/Laminas/Http/Header/Accept/FieldValuePart/AbstractFieldValuePart.php
/usr/share/php/Laminas/Http/Header/Accept/FieldValuePart/AcceptFieldValuePart.php
/usr/share/php/Laminas/Http/Header/Accept/FieldValuePart/CharsetFieldValuePart.php
/usr/share/php/Laminas/Http/Header/Accept/FieldValuePart/EncodingFieldValuePart.php
/usr/share/php/Laminas/Http/Header/Accept/FieldValuePart/LanguageFieldValuePart.php
/usr/share/php/Laminas/Http/Header/AcceptCharset.php
/usr/share/php/Laminas/Http/Header/AcceptEncoding.php
/usr/share/php/Laminas/Http/Header/AcceptLanguage.php
/usr/share/php/Laminas/Http/Header/AcceptRanges.php
/usr/share/php/Laminas/Http/Header/Age.php
/usr/share/php/Laminas/Http/Header/Allow.php
/usr/share/php/Laminas/Http/Header/AuthenticationInfo.php
/usr/share/php/Laminas/Http/Header/Authorization.php
/usr/share/php/Laminas/Http/Header/CacheControl.php
/usr/share/php/Laminas/Http/Header/Connection.php
/usr/share/php/Laminas/Http/Header/ContentDisposition.php
/usr/share/php/Laminas/Http/Header/ContentEncoding.php
/usr/share/php/Laminas/Http/Header/ContentLanguage.php
/usr/share/php/Laminas/Http/Header/ContentLength.php
/usr/share/php/Laminas/Http/Header/ContentLocation.php
/usr/share/php/Laminas/Http/Header/ContentMD5.php
/usr/share/php/Laminas/Http/Header/ContentRange.php
/usr/share/php/Laminas/Http/Header/ContentSecurityPolicy.php
/usr/share/php/Laminas/Http/Header/ContentSecurityPolicyReportOnly.php
/usr/share/php/Laminas/Http/Header/ContentTransferEncoding.php
/usr/share/php/Laminas/Http/Header/ContentType.php
/usr/share/php/Laminas/Http/Header/Cookie.php
/usr/share/php/Laminas/Http/Header/Date.php
/usr/share/php/Laminas/Http/Header/Etag.php
/usr/share/php/Laminas/Http/Header/Exception
/usr/share/php/Laminas/Http/Header/Exception/DomainException.php
/usr/share/php/Laminas/Http/Header/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Http/Header/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Http/Header/Exception/RuntimeException.php
/usr/share/php/Laminas/Http/Header/Expect.php
/usr/share/php/Laminas/Http/Header/Expires.php
/usr/share/php/Laminas/Http/Header/FeaturePolicy.php
/usr/share/php/Laminas/Http/Header/From.php
/usr/share/php/Laminas/Http/Header/GenericHeader.php
/usr/share/php/Laminas/Http/Header/GenericMultiHeader.php
/usr/share/php/Laminas/Http/Header/HeaderInterface.php
/usr/share/php/Laminas/Http/Header/HeaderValue.php
/usr/share/php/Laminas/Http/Header/Host.php
/usr/share/php/Laminas/Http/Header/IfMatch.php
/usr/share/php/Laminas/Http/Header/IfModifiedSince.php
/usr/share/php/Laminas/Http/Header/IfNoneMatch.php
/usr/share/php/Laminas/Http/Header/IfRange.php
/usr/share/php/Laminas/Http/Header/IfUnmodifiedSince.php
/usr/share/php/Laminas/Http/Header/KeepAlive.php
/usr/share/php/Laminas/Http/Header/LastModified.php
/usr/share/php/Laminas/Http/Header/Location.php
/usr/share/php/Laminas/Http/Header/MaxForwards.php
/usr/share/php/Laminas/Http/Header/MultipleHeaderInterface.php
/usr/share/php/Laminas/Http/Header/Origin.php
/usr/share/php/Laminas/Http/Header/Pragma.php
/usr/share/php/Laminas/Http/Header/ProxyAuthenticate.php
/usr/share/php/Laminas/Http/Header/ProxyAuthorization.php
/usr/share/php/Laminas/Http/Header/Range.php
/usr/share/php/Laminas/Http/Header/Referer.php
/usr/share/php/Laminas/Http/Header/Refresh.php
/usr/share/php/Laminas/Http/Header/RetryAfter.php
/usr/share/php/Laminas/Http/Header/Server.php
/usr/share/php/Laminas/Http/Header/SetCookie.php
/usr/share/php/Laminas/Http/Header/TE.php
/usr/share/php/Laminas/Http/Header/Trailer.php
/usr/share/php/Laminas/Http/Header/TransferEncoding.php
/usr/share/php/Laminas/Http/Header/Upgrade.php
/usr/share/php/Laminas/Http/Header/UserAgent.php
/usr/share/php/Laminas/Http/Header/Vary.php
/usr/share/php/Laminas/Http/Header/Via.php
/usr/share/php/Laminas/Http/Header/WWWAuthenticate.php
/usr/share/php/Laminas/Http/Header/Warning.php
/usr/share/php/Laminas/Http/HeaderLoader.php
/usr/share/php/Laminas/Http/Headers.php
/usr/share/php/Laminas/Http/PhpEnvironment
/usr/share/php/Laminas/Http/PhpEnvironment/RemoteAddress.php
/usr/share/php/Laminas/Http/PhpEnvironment/Request.php
/usr/share/php/Laminas/Http/PhpEnvironment/Response.php
/usr/share/php/Laminas/Http/Request.php
/usr/share/php/Laminas/Http/Response
/usr/share/php/Laminas/Http/Response.php
/usr/share/php/Laminas/Http/Response/Stream.php
/usr/share/php/Laminas/Http/autoload.php
/usr/share/php/Zend/Http
/usr/share/php/Zend/Http/autoload.php

References

Summary

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