How To Install php-league-container4 on Fedora 36

In this tutorial we learn how to install php-league-container4 in Fedora 36. php-league-container4 is A fast and intuitive dependency injection container version 4

Introduction

In this tutorial we learn how to install php-league-container4 on Fedora 36.

What is php-league-container4

A small but powerful dependency injection container that allows you to decouple components in your application in order to write clean and testable code. Autoloader

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

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

sudo dnf -y install php-league-container4

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

sudo yum -y install php-league-container4

How To Uninstall php-league-container4 on Fedora 36

To uninstall only the php-league-container4 package we can use the following command:

sudo dnf remove php-league-container4

php-league-container4 Package Contents on Fedora 36

/usr/share/doc/php-league-container4
/usr/share/doc/php-league-container4/CHANGELOG.md
/usr/share/doc/php-league-container4/CONTRIBUTING.md
/usr/share/doc/php-league-container4/README.md
/usr/share/doc/php-league-container4/composer.json
/usr/share/licenses/php-league-container4
/usr/share/licenses/php-league-container4/LICENSE.md
/usr/share/php/League
/usr/share/php/League/Container4
/usr/share/php/League/Container4/Argument
/usr/share/php/League/Container4/Argument/ArgumentInterface.php
/usr/share/php/League/Container4/Argument/ArgumentResolverInterface.php
/usr/share/php/League/Container4/Argument/ArgumentResolverTrait.php
/usr/share/php/League/Container4/Argument/DefaultValueArgument.php
/usr/share/php/League/Container4/Argument/DefaultValueInterface.php
/usr/share/php/League/Container4/Argument/Literal
/usr/share/php/League/Container4/Argument/Literal/ArrayArgument.php
/usr/share/php/League/Container4/Argument/Literal/BooleanArgument.php
/usr/share/php/League/Container4/Argument/Literal/CallableArgument.php
/usr/share/php/League/Container4/Argument/Literal/FloatArgument.php
/usr/share/php/League/Container4/Argument/Literal/IntegerArgument.php
/usr/share/php/League/Container4/Argument/Literal/ObjectArgument.php
/usr/share/php/League/Container4/Argument/Literal/StringArgument.php
/usr/share/php/League/Container4/Argument/LiteralArgument.php
/usr/share/php/League/Container4/Argument/LiteralArgumentInterface.php
/usr/share/php/League/Container4/Argument/ResolvableArgument.php
/usr/share/php/League/Container4/Argument/ResolvableArgumentInterface.php
/usr/share/php/League/Container4/Container.php
/usr/share/php/League/Container4/ContainerAwareInterface.php
/usr/share/php/League/Container4/ContainerAwareTrait.php
/usr/share/php/League/Container4/Definition
/usr/share/php/League/Container4/Definition/Definition.php
/usr/share/php/League/Container4/Definition/DefinitionAggregate.php
/usr/share/php/League/Container4/Definition/DefinitionAggregateInterface.php
/usr/share/php/League/Container4/Definition/DefinitionInterface.php
/usr/share/php/League/Container4/DefinitionContainerInterface.php
/usr/share/php/League/Container4/Exception
/usr/share/php/League/Container4/Exception/ContainerException.php
/usr/share/php/League/Container4/Exception/NotFoundException.php
/usr/share/php/League/Container4/Inflector
/usr/share/php/League/Container4/Inflector/Inflector.php
/usr/share/php/League/Container4/Inflector/InflectorAggregate.php
/usr/share/php/League/Container4/Inflector/InflectorAggregateInterface.php
/usr/share/php/League/Container4/Inflector/InflectorInterface.php
/usr/share/php/League/Container4/ReflectionContainer.php
/usr/share/php/League/Container4/ServiceProvider
/usr/share/php/League/Container4/ServiceProvider/AbstractServiceProvider.php
/usr/share/php/League/Container4/ServiceProvider/BootableServiceProviderInterface.php
/usr/share/php/League/Container4/ServiceProvider/ServiceProviderAggregate.php
/usr/share/php/League/Container4/ServiceProvider/ServiceProviderAggregateInterface.php
/usr/share/php/League/Container4/ServiceProvider/ServiceProviderInterface.php
/usr/share/php/League/Container4/autoload.php

References

Summary

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