How To Install php-laminas-di on Fedora 36
Introduction
In this tutorial we learn how to install php-laminas-di
on Fedora 36.
What is php-laminas-di
laminas-di is an example of an Inversion of Control (IoC) container. IoC containers are widely used to create object instances that have all dependencies resolved and injected. Dependency Injection containers are one form of IoC – but not the only form. Documentation
We can use yum
or dnf
to install php-laminas-di
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-laminas-di.
Install php-laminas-di 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-di
using dnf
by running the following command:
sudo dnf -y install php-laminas-di
Install php-laminas-di 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-di
using yum
by running the following command:
sudo yum -y install php-laminas-di
How To Uninstall php-laminas-di on Fedora 36
To uninstall only the php-laminas-di
package we can use the following command:
sudo dnf remove php-laminas-di
php-laminas-di Package Contents on Fedora 36
/usr/share/doc/php-laminas-di
/usr/share/doc/php-laminas-di/CHANGELOG.md
/usr/share/doc/php-laminas-di/COPYRIGHT.md
/usr/share/doc/php-laminas-di/README.md
/usr/share/doc/php-laminas-di/composer.json
/usr/share/licenses/php-laminas-di
/usr/share/licenses/php-laminas-di/LICENSE
/usr/share/php/Laminas/Di
/usr/share/php/Laminas/Di/Config.php
/usr/share/php/Laminas/Di/Definition
/usr/share/php/Laminas/Di/Definition/Annotation
/usr/share/php/Laminas/Di/Definition/Annotation/Inject.php
/usr/share/php/Laminas/Di/Definition/Annotation/Instantiator.php
/usr/share/php/Laminas/Di/Definition/ArrayDefinition.php
/usr/share/php/Laminas/Di/Definition/Builder
/usr/share/php/Laminas/Di/Definition/Builder/InjectionMethod.php
/usr/share/php/Laminas/Di/Definition/Builder/PhpClass.php
/usr/share/php/Laminas/Di/Definition/BuilderDefinition.php
/usr/share/php/Laminas/Di/Definition/ClassDefinition.php
/usr/share/php/Laminas/Di/Definition/CompilerDefinition.php
/usr/share/php/Laminas/Di/Definition/DefinitionInterface.php
/usr/share/php/Laminas/Di/Definition/IntrospectionStrategy.php
/usr/share/php/Laminas/Di/Definition/PartialMarker.php
/usr/share/php/Laminas/Di/Definition/RuntimeDefinition.php
/usr/share/php/Laminas/Di/DefinitionList.php
/usr/share/php/Laminas/Di/DependencyInjectionInterface.php
/usr/share/php/Laminas/Di/Di.php
/usr/share/php/Laminas/Di/Display
/usr/share/php/Laminas/Di/Display/Console.php
/usr/share/php/Laminas/Di/Exception
/usr/share/php/Laminas/Di/Exception/CircularDependencyException.php
/usr/share/php/Laminas/Di/Exception/ClassNotFoundException.php
/usr/share/php/Laminas/Di/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Di/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Di/Exception/InvalidCallbackException.php
/usr/share/php/Laminas/Di/Exception/InvalidParamNameException.php
/usr/share/php/Laminas/Di/Exception/InvalidPositionException.php
/usr/share/php/Laminas/Di/Exception/MissingPropertyException.php
/usr/share/php/Laminas/Di/Exception/RuntimeException.php
/usr/share/php/Laminas/Di/Exception/UndefinedReferenceException.php
/usr/share/php/Laminas/Di/InstanceManager.php
/usr/share/php/Laminas/Di/LocatorInterface.php
/usr/share/php/Laminas/Di/ServiceLocator
/usr/share/php/Laminas/Di/ServiceLocator.php
/usr/share/php/Laminas/Di/ServiceLocator/DependencyInjectorProxy.php
/usr/share/php/Laminas/Di/ServiceLocator/Generator.php
/usr/share/php/Laminas/Di/ServiceLocator/GeneratorInstance.php
/usr/share/php/Laminas/Di/ServiceLocatorInterface.php
/usr/share/php/Laminas/Di/TODO
/usr/share/php/Laminas/Di/autoload.php
/usr/share/php/Zend/Di
/usr/share/php/Zend/Di/autoload.php
References
Summary
In this tutorial we learn how to install php-laminas-di
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).