How To Install php-laminas-servicemanager on Fedora 36

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

Introduction

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

What is php-laminas-servicemanager

The Service Locator design pattern is implemented by the laminas-servicemanager component. The Service Locator is a service/object locator, tasked with retrieving other objects. Documentation

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

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

sudo dnf -y install php-laminas-servicemanager

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

sudo yum -y install php-laminas-servicemanager

How To Uninstall php-laminas-servicemanager on Fedora 36

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

sudo dnf remove php-laminas-servicemanager

php-laminas-servicemanager Package Contents on Fedora 36

/usr/share/doc/php-laminas-servicemanager
/usr/share/doc/php-laminas-servicemanager/CHANGELOG.md
/usr/share/doc/php-laminas-servicemanager/COPYRIGHT.md
/usr/share/doc/php-laminas-servicemanager/README.md
/usr/share/doc/php-laminas-servicemanager/composer.json
/usr/share/licenses/php-laminas-servicemanager
/usr/share/licenses/php-laminas-servicemanager/LICENSE
/usr/share/php/Laminas/ServiceManager
/usr/share/php/Laminas/ServiceManager/AbstractFactory
/usr/share/php/Laminas/ServiceManager/AbstractFactory/ConfigAbstractFactory.php
/usr/share/php/Laminas/ServiceManager/AbstractFactory/ReflectionBasedAbstractFactory.php
/usr/share/php/Laminas/ServiceManager/AbstractFactoryInterface.php
/usr/share/php/Laminas/ServiceManager/AbstractPluginManager.php
/usr/share/php/Laminas/ServiceManager/Config.php
/usr/share/php/Laminas/ServiceManager/ConfigInterface.php
/usr/share/php/Laminas/ServiceManager/DelegatorFactoryInterface.php
/usr/share/php/Laminas/ServiceManager/Exception
/usr/share/php/Laminas/ServiceManager/Exception/ContainerModificationsNotAllowedException.php
/usr/share/php/Laminas/ServiceManager/Exception/CyclicAliasException.php
/usr/share/php/Laminas/ServiceManager/Exception/ExceptionInterface.php
/usr/share/php/Laminas/ServiceManager/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/ServiceManager/Exception/InvalidServiceException.php
/usr/share/php/Laminas/ServiceManager/Exception/ServiceNotCreatedException.php
/usr/share/php/Laminas/ServiceManager/Exception/ServiceNotFoundException.php
/usr/share/php/Laminas/ServiceManager/Factory
/usr/share/php/Laminas/ServiceManager/Factory/AbstractFactoryInterface.php
/usr/share/php/Laminas/ServiceManager/Factory/DelegatorFactoryInterface.php
/usr/share/php/Laminas/ServiceManager/Factory/FactoryInterface.php
/usr/share/php/Laminas/ServiceManager/Factory/InvokableFactory.php
/usr/share/php/Laminas/ServiceManager/FactoryInterface.php
/usr/share/php/Laminas/ServiceManager/Initializer
/usr/share/php/Laminas/ServiceManager/Initializer/InitializerInterface.php
/usr/share/php/Laminas/ServiceManager/InitializerInterface.php
/usr/share/php/Laminas/ServiceManager/PluginManagerInterface.php
/usr/share/php/Laminas/ServiceManager/Proxy
/usr/share/php/Laminas/ServiceManager/Proxy/LazyServiceFactory.php
/usr/share/php/Laminas/ServiceManager/PsrContainerDecorator.php
/usr/share/php/Laminas/ServiceManager/ServiceLocatorInterface.php
/usr/share/php/Laminas/ServiceManager/ServiceManager.php
/usr/share/php/Laminas/ServiceManager/Test
/usr/share/php/Laminas/ServiceManager/Test/CommonPluginManagerTrait.php
/usr/share/php/Laminas/ServiceManager/Tool
/usr/share/php/Laminas/ServiceManager/Tool/ConfigDumper.php
/usr/share/php/Laminas/ServiceManager/Tool/ConfigDumperCommand.php
/usr/share/php/Laminas/ServiceManager/Tool/FactoryCreator.php
/usr/share/php/Laminas/ServiceManager/Tool/FactoryCreatorCommand.php
/usr/share/php/Laminas/ServiceManager/autoload.php
/usr/share/php/Zend/ServiceManager
/usr/share/php/Zend/ServiceManager/autoload.php

References

Summary

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