How To Install php-laminas-server on Fedora 36

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

Introduction

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

What is php-laminas-server

The laminas-server family of classes provides functionality for the various server classes, including Laminas\XmlRpc\Server and Laminas\Json\Server. Laminas\Server\Server provides an interface that mimics PHP 5’s SoapServer class; all server classes should implement this interface in order to provide a standard server API. Documentation

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

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

sudo dnf -y install php-laminas-server

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

sudo yum -y install php-laminas-server

How To Uninstall php-laminas-server on Fedora 36

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

sudo dnf remove php-laminas-server

php-laminas-server Package Contents on Fedora 36

/usr/share/doc/php-laminas-server
/usr/share/doc/php-laminas-server/COPYRIGHT.md
/usr/share/doc/php-laminas-server/README.md
/usr/share/doc/php-laminas-server/composer.json
/usr/share/licenses/php-laminas-server
/usr/share/licenses/php-laminas-server/LICENSE
/usr/share/php/Laminas/Server
/usr/share/php/Laminas/Server/AbstractServer.php
/usr/share/php/Laminas/Server/Cache.php
/usr/share/php/Laminas/Server/Client.php
/usr/share/php/Laminas/Server/ClientInterface.php
/usr/share/php/Laminas/Server/Definition.php
/usr/share/php/Laminas/Server/Exception
/usr/share/php/Laminas/Server/Exception/BadMethodCallException.php
/usr/share/php/Laminas/Server/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Server/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Server/Exception/RuntimeException.php
/usr/share/php/Laminas/Server/Method
/usr/share/php/Laminas/Server/Method/Callback.php
/usr/share/php/Laminas/Server/Method/Definition.php
/usr/share/php/Laminas/Server/Method/Parameter.php
/usr/share/php/Laminas/Server/Method/Prototype.php
/usr/share/php/Laminas/Server/Reflection
/usr/share/php/Laminas/Server/Reflection.php
/usr/share/php/Laminas/Server/Reflection/AbstractFunction.php
/usr/share/php/Laminas/Server/Reflection/Exception
/usr/share/php/Laminas/Server/Reflection/Exception/BadMethodCallException.php
/usr/share/php/Laminas/Server/Reflection/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Server/Reflection/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Server/Reflection/Exception/RuntimeException.php
/usr/share/php/Laminas/Server/Reflection/Node.php
/usr/share/php/Laminas/Server/Reflection/Prototype.php
/usr/share/php/Laminas/Server/Reflection/ReflectionClass.php
/usr/share/php/Laminas/Server/Reflection/ReflectionFunction.php
/usr/share/php/Laminas/Server/Reflection/ReflectionMethod.php
/usr/share/php/Laminas/Server/Reflection/ReflectionParameter.php
/usr/share/php/Laminas/Server/Reflection/ReflectionReturnValue.php
/usr/share/php/Laminas/Server/Server.php
/usr/share/php/Laminas/Server/ServerInterface.php
/usr/share/php/Laminas/Server/autoload.php
/usr/share/php/Zend/Server
/usr/share/php/Zend/Server/autoload.php

References

Summary

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