How To Install composer on Fedora 34

composer is Dependency Manager for PHP

Introduction

In this tutorial we learn how to install composer on Fedora 34.

What is composer

Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere. Documentation

We can use yum or dnf to install composer on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install composer.

Install composer on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install composer using dnf by running the following command:

sudo dnf -y install composer

Install composer on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install composer using yum by running the following command:

sudo yum -y install composer

How To Uninstall composer on Fedora 34

To uninstall only the composer package we can use the following command:

sudo dnf remove composer

composer Package Contents on Fedora 34

/etc/profile.d/composer.csh
/etc/profile.d/composer.sh
/usr/bin/composer
/usr/share/composer
/usr/share/composer/LICENSE
/usr/share/composer/res
/usr/share/composer/res/composer-repository-schema.json
/usr/share/composer/res/composer-schema.json
/usr/share/doc/composer
/usr/share/doc/composer/CHANGELOG.md
/usr/share/doc/composer/CODE_OF_CONDUCT.md
/usr/share/doc/composer/README.md
/usr/share/doc/composer/UPGRADE-2.0.md
/usr/share/doc/composer/composer.json
/usr/share/doc/composer/doc
/usr/share/doc/composer/doc/00-intro.md
/usr/share/doc/composer/doc/01-basic-usage.md
/usr/share/doc/composer/doc/02-libraries.md
/usr/share/doc/composer/doc/03-cli.md
/usr/share/doc/composer/doc/04-schema.md
/usr/share/doc/composer/doc/05-repositories.md
/usr/share/doc/composer/doc/06-config.md
/usr/share/doc/composer/doc/07-runtime.md
/usr/share/doc/composer/doc/08-community.md
/usr/share/doc/composer/doc/articles
/usr/share/doc/composer/doc/articles/aliases.md
/usr/share/doc/composer/doc/articles/authentication-for-private-packages.md
/usr/share/doc/composer/doc/articles/autoloader-optimization.md
/usr/share/doc/composer/doc/articles/custom-installers.md
/usr/share/doc/composer/doc/articles/handling-private-packages.md
/usr/share/doc/composer/doc/articles/plugins.md
/usr/share/doc/composer/doc/articles/repository-priorities.md
/usr/share/doc/composer/doc/articles/resolving-merge-conflicts.md
/usr/share/doc/composer/doc/articles/scripts.md
/usr/share/doc/composer/doc/articles/troubleshooting.md
/usr/share/doc/composer/doc/articles/vendor-binaries.md
/usr/share/doc/composer/doc/articles/versions.md
/usr/share/doc/composer/doc/dev
/usr/share/doc/composer/doc/dev/DefaultPolicy.md
/usr/share/doc/composer/doc/faqs
/usr/share/doc/composer/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md
/usr/share/doc/composer/doc/faqs/how-to-install-composer-programmatically.md
/usr/share/doc/composer/doc/faqs/how-to-install-untrusted-packages-safely.md
/usr/share/doc/composer/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md
/usr/share/doc/composer/doc/faqs/which-version-numbering-system-does-composer-itself-use.md
/usr/share/doc/composer/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md
/usr/share/doc/composer/doc/faqs/why-are-version-constraints-combining-comparisons-and-wildcards-a-bad-idea.md
/usr/share/doc/composer/doc/faqs/why-can't-composer-load-repositories-recursively.md
/usr/share/doc/composer/doc/fixtures
/usr/share/doc/composer/doc/fixtures/fixtures.md
/usr/share/doc/composer/doc/fixtures/repo-composer-plain
/usr/share/doc/composer/doc/fixtures/repo-composer-plain/packages.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/bar
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/bar/baz$923363b3c22e73abb2e3fd891c8156dd4d0821a97fd3e428bc910833e3e46dbe.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/foo
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/foo/bar$4baabb3303afa3e34a4d3af18fb138e5f3b79029c1f8d9ab5b477ea15776ba0a.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/gar
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/gar/nix$5d210670cb46c8364c8e3fb449967b9bea558b971e5b082f330ae4f1d484c321.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/provider-active$1893a061e579543822389ecd12d791c612db0c05e22d90e9286e233cacd86ed8.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/qux
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/qux/quux$c142d1a07ca354be46b613f59f1d601923a5a00ccc5fcce50a77ecdd461eb72d.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/packages.json
/usr/share/licenses/composer
/usr/share/licenses/composer/LICENSE
/usr/share/php/Composer
/usr/share/php/Composer/Autoload
/usr/share/php/Composer/Autoload/AutoloadGenerator.php
/usr/share/php/Composer/Autoload/ClassLoader.php
/usr/share/php/Composer/Autoload/ClassMapGenerator.php
/usr/share/php/Composer/Cache.php
/usr/share/php/Composer/Command
/usr/share/php/Composer/Command/AboutCommand.php
/usr/share/php/Composer/Command/ArchiveCommand.php
/usr/share/php/Composer/Command/BaseCommand.php
/usr/share/php/Composer/Command/BaseDependencyCommand.php
/usr/share/php/Composer/Command/CheckPlatformReqsCommand.php
/usr/share/php/Composer/Command/ClearCacheCommand.php
/usr/share/php/Composer/Command/ConfigCommand.php
/usr/share/php/Composer/Command/CreateProjectCommand.php
/usr/share/php/Composer/Command/DependsCommand.php
/usr/share/php/Composer/Command/DiagnoseCommand.php
/usr/share/php/Composer/Command/DumpAutoloadCommand.php
/usr/share/php/Composer/Command/ExecCommand.php
/usr/share/php/Composer/Command/FundCommand.php
/usr/share/php/Composer/Command/GlobalCommand.php
/usr/share/php/Composer/Command/HomeCommand.php
/usr/share/php/Composer/Command/InitCommand.php
/usr/share/php/Composer/Command/InstallCommand.php
/usr/share/php/Composer/Command/LicensesCommand.php
/usr/share/php/Composer/Command/OutdatedCommand.php
/usr/share/php/Composer/Command/ProhibitsCommand.php
/usr/share/php/Composer/Command/ReinstallCommand.php
/usr/share/php/Composer/Command/RemoveCommand.php
/usr/share/php/Composer/Command/RequireCommand.php
/usr/share/php/Composer/Command/RunScriptCommand.php
/usr/share/php/Composer/Command/ScriptAliasCommand.php
/usr/share/php/Composer/Command/SearchCommand.php
/usr/share/php/Composer/Command/SelfUpdateCommand.php
/usr/share/php/Composer/Command/ShowCommand.php
/usr/share/php/Composer/Command/StatusCommand.php
/usr/share/php/Composer/Command/SuggestsCommand.php
/usr/share/php/Composer/Command/UpdateCommand.php
/usr/share/php/Composer/Command/ValidateCommand.php
/usr/share/php/Composer/Compiler.php
/usr/share/php/Composer/Composer.php
/usr/share/php/Composer/Config
/usr/share/php/Composer/Config.php
/usr/share/php/Composer/Config/ConfigSourceInterface.php
/usr/share/php/Composer/Config/JsonConfigSource.php
/usr/share/php/Composer/Console
/usr/share/php/Composer/Console/Application.php
/usr/share/php/Composer/Console/GithubActionError.php
/usr/share/php/Composer/Console/HtmlOutputFormatter.php
/usr/share/php/Composer/DependencyResolver
/usr/share/php/Composer/DependencyResolver/Decisions.php
/usr/share/php/Composer/DependencyResolver/DefaultPolicy.php
/usr/share/php/Composer/DependencyResolver/GenericRule.php
/usr/share/php/Composer/DependencyResolver/LocalRepoTransaction.php
/usr/share/php/Composer/DependencyResolver/LockTransaction.php
/usr/share/php/Composer/DependencyResolver/MultiConflictRule.php
/usr/share/php/Composer/DependencyResolver/Operation
/usr/share/php/Composer/DependencyResolver/Operation/InstallOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/MarkAliasInstalledOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/MarkAliasUninstalledOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/OperationInterface.php
/usr/share/php/Composer/DependencyResolver/Operation/SolverOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/UninstallOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/UpdateOperation.php
/usr/share/php/Composer/DependencyResolver/PolicyInterface.php
/usr/share/php/Composer/DependencyResolver/Pool.php
/usr/share/php/Composer/DependencyResolver/PoolBuilder.php
/usr/share/php/Composer/DependencyResolver/Problem.php
/usr/share/php/Composer/DependencyResolver/Request.php
/usr/share/php/Composer/DependencyResolver/Rule.php
/usr/share/php/Composer/DependencyResolver/Rule2Literals.php
/usr/share/php/Composer/DependencyResolver/RuleSet.php
/usr/share/php/Composer/DependencyResolver/RuleSetGenerator.php
/usr/share/php/Composer/DependencyResolver/RuleSetIterator.php
/usr/share/php/Composer/DependencyResolver/RuleWatchChain.php
/usr/share/php/Composer/DependencyResolver/RuleWatchGraph.php
/usr/share/php/Composer/DependencyResolver/RuleWatchNode.php
/usr/share/php/Composer/DependencyResolver/Solver.php
/usr/share/php/Composer/DependencyResolver/SolverBugException.php
/usr/share/php/Composer/DependencyResolver/SolverProblemsException.php
/usr/share/php/Composer/DependencyResolver/Transaction.php
/usr/share/php/Composer/Downloader
/usr/share/php/Composer/Downloader/ArchiveDownloader.php
/usr/share/php/Composer/Downloader/ChangeReportInterface.php
/usr/share/php/Composer/Downloader/DownloadManager.php
/usr/share/php/Composer/Downloader/DownloaderInterface.php
/usr/share/php/Composer/Downloader/DvcsDownloaderInterface.php
/usr/share/php/Composer/Downloader/FileDownloader.php
/usr/share/php/Composer/Downloader/FilesystemException.php
/usr/share/php/Composer/Downloader/FossilDownloader.php
/usr/share/php/Composer/Downloader/GitDownloader.php
/usr/share/php/Composer/Downloader/GzipDownloader.php
/usr/share/php/Composer/Downloader/HgDownloader.php
/usr/share/php/Composer/Downloader/MaxFileSizeExceededException.php
/usr/share/php/Composer/Downloader/PathDownloader.php
/usr/share/php/Composer/Downloader/PerforceDownloader.php
/usr/share/php/Composer/Downloader/PharDownloader.php
/usr/share/php/Composer/Downloader/RarDownloader.php
/usr/share/php/Composer/Downloader/SvnDownloader.php
/usr/share/php/Composer/Downloader/TarDownloader.php
/usr/share/php/Composer/Downloader/TransportException.php
/usr/share/php/Composer/Downloader/VcsCapableDownloaderInterface.php
/usr/share/php/Composer/Downloader/VcsDownloader.php
/usr/share/php/Composer/Downloader/XzDownloader.php
/usr/share/php/Composer/Downloader/ZipDownloader.php
/usr/share/php/Composer/EventDispatcher
/usr/share/php/Composer/EventDispatcher/Event.php
/usr/share/php/Composer/EventDispatcher/EventDispatcher.php
/usr/share/php/Composer/EventDispatcher/EventSubscriberInterface.php
/usr/share/php/Composer/EventDispatcher/ScriptExecutionException.php
/usr/share/php/Composer/Exception
/usr/share/php/Composer/Exception/IrrecoverableDownloadException.php
/usr/share/php/Composer/Exception/NoSslException.php
/usr/share/php/Composer/Factory.php
/usr/share/php/Composer/IO
/usr/share/php/Composer/IO/BaseIO.php
/usr/share/php/Composer/IO/BufferIO.php
/usr/share/php/Composer/IO/ConsoleIO.php
/usr/share/php/Composer/IO/IOInterface.php
/usr/share/php/Composer/IO/NullIO.php
/usr/share/php/Composer/InstalledVersions.php
/usr/share/php/Composer/Installer
/usr/share/php/Composer/Installer.php
/usr/share/php/Composer/Installer/BinaryInstaller.php
/usr/share/php/Composer/Installer/BinaryPresenceInterface.php
/usr/share/php/Composer/Installer/InstallationManager.php
/usr/share/php/Composer/Installer/InstallerEvent.php
/usr/share/php/Composer/Installer/InstallerEvents.php
/usr/share/php/Composer/Installer/InstallerInterface.php
/usr/share/php/Composer/Installer/LibraryInstaller.php
/usr/share/php/Composer/Installer/MetapackageInstaller.php
/usr/share/php/Composer/Installer/NoopInstaller.php
/usr/share/php/Composer/Installer/PackageEvent.php
/usr/share/php/Composer/Installer/PackageEvents.php
/usr/share/php/Composer/Installer/PluginInstaller.php
/usr/share/php/Composer/Installer/ProjectInstaller.php
/usr/share/php/Composer/Installer/SuggestedPackagesReporter.php
/usr/share/php/Composer/Json
/usr/share/php/Composer/Json/JsonFile.php
/usr/share/php/Composer/Json/JsonFormatter.php
/usr/share/php/Composer/Json/JsonManipulator.php
/usr/share/php/Composer/Json/JsonValidationException.php
/usr/share/php/Composer/Package
/usr/share/php/Composer/Package/AliasPackage.php
/usr/share/php/Composer/Package/Archiver
/usr/share/php/Composer/Package/Archiver/ArchivableFilesFilter.php
/usr/share/php/Composer/Package/Archiver/ArchivableFilesFinder.php
/usr/share/php/Composer/Package/Archiver/ArchiveManager.php
/usr/share/php/Composer/Package/Archiver/ArchiverInterface.php
/usr/share/php/Composer/Package/Archiver/BaseExcludeFilter.php
/usr/share/php/Composer/Package/Archiver/ComposerExcludeFilter.php
/usr/share/php/Composer/Package/Archiver/GitExcludeFilter.php
/usr/share/php/Composer/Package/Archiver/HgExcludeFilter.php
/usr/share/php/Composer/Package/Archiver/PharArchiver.php
/usr/share/php/Composer/Package/Archiver/ZipArchiver.php
/usr/share/php/Composer/Package/BasePackage.php
/usr/share/php/Composer/Package/Comparer
/usr/share/php/Composer/Package/Comparer/Comparer.php
/usr/share/php/Composer/Package/CompleteAliasPackage.php
/usr/share/php/Composer/Package/CompletePackage.php
/usr/share/php/Composer/Package/CompletePackageInterface.php
/usr/share/php/Composer/Package/Dumper
/usr/share/php/Composer/Package/Dumper/ArrayDumper.php
/usr/share/php/Composer/Package/Link.php
/usr/share/php/Composer/Package/Loader
/usr/share/php/Composer/Package/Loader/ArrayLoader.php
/usr/share/php/Composer/Package/Loader/InvalidPackageException.php
/usr/share/php/Composer/Package/Loader/JsonLoader.php
/usr/share/php/Composer/Package/Loader/LoaderInterface.php
/usr/share/php/Composer/Package/Loader/RootPackageLoader.php
/usr/share/php/Composer/Package/Loader/ValidatingArrayLoader.php
/usr/share/php/Composer/Package/Locker.php
/usr/share/php/Composer/Package/Package.php
/usr/share/php/Composer/Package/PackageInterface.php
/usr/share/php/Composer/Package/RootAliasPackage.php
/usr/share/php/Composer/Package/RootPackage.php
/usr/share/php/Composer/Package/RootPackageInterface.php
/usr/share/php/Composer/Package/Version
/usr/share/php/Composer/Package/Version/StabilityFilter.php
/usr/share/php/Composer/Package/Version/VersionGuesser.php
/usr/share/php/Composer/Package/Version/VersionParser.php
/usr/share/php/Composer/Package/Version/VersionSelector.php
/usr/share/php/Composer/Platform
/usr/share/php/Composer/Platform/HhvmDetector.php
/usr/share/php/Composer/Platform/Runtime.php
/usr/share/php/Composer/Platform/Version.php
/usr/share/php/Composer/Plugin
/usr/share/php/Composer/Plugin/Capability
/usr/share/php/Composer/Plugin/Capability/Capability.php
/usr/share/php/Composer/Plugin/Capability/CommandProvider.php
/usr/share/php/Composer/Plugin/Capable.php
/usr/share/php/Composer/Plugin/CommandEvent.php
/usr/share/php/Composer/Plugin/PluginEvents.php
/usr/share/php/Composer/Plugin/PluginInterface.php
/usr/share/php/Composer/Plugin/PluginManager.php
/usr/share/php/Composer/Plugin/PostFileDownloadEvent.php
/usr/share/php/Composer/Plugin/PreCommandRunEvent.php
/usr/share/php/Composer/Plugin/PreFileDownloadEvent.php
/usr/share/php/Composer/Plugin/PrePoolCreateEvent.php
/usr/share/php/Composer/Question
/usr/share/php/Composer/Question/StrictConfirmationQuestion.php
/usr/share/php/Composer/Repository
/usr/share/php/Composer/Repository/ArrayRepository.php
/usr/share/php/Composer/Repository/ArtifactRepository.php
/usr/share/php/Composer/Repository/ComposerRepository.php
/usr/share/php/Composer/Repository/CompositeRepository.php
/usr/share/php/Composer/Repository/ConfigurableRepositoryInterface.php
/usr/share/php/Composer/Repository/FilesystemRepository.php
/usr/share/php/Composer/Repository/FilterRepository.php
/usr/share/php/Composer/Repository/InstalledArrayRepository.php
/usr/share/php/Composer/Repository/InstalledFilesystemRepository.php
/usr/share/php/Composer/Repository/InstalledRepository.php
/usr/share/php/Composer/Repository/InstalledRepositoryInterface.php
/usr/share/php/Composer/Repository/InvalidRepositoryException.php
/usr/share/php/Composer/Repository/LockArrayRepository.php
/usr/share/php/Composer/Repository/PackageRepository.php
/usr/share/php/Composer/Repository/PathRepository.php
/usr/share/php/Composer/Repository/PearRepository.php
/usr/share/php/Composer/Repository/PlatformRepository.php
/usr/share/php/Composer/Repository/RepositoryFactory.php
/usr/share/php/Composer/Repository/RepositoryInterface.php
/usr/share/php/Composer/Repository/RepositoryManager.php
/usr/share/php/Composer/Repository/RepositorySecurityException.php
/usr/share/php/Composer/Repository/RepositorySet.php
/usr/share/php/Composer/Repository/RootPackageRepository.php
/usr/share/php/Composer/Repository/Vcs
/usr/share/php/Composer/Repository/Vcs/BitbucketDriver.php
/usr/share/php/Composer/Repository/Vcs/FossilDriver.php
/usr/share/php/Composer/Repository/Vcs/GitBitbucketDriver.php
/usr/share/php/Composer/Repository/Vcs/GitDriver.php
/usr/share/php/Composer/Repository/Vcs/GitHubDriver.php
/usr/share/php/Composer/Repository/Vcs/GitLabDriver.php
/usr/share/php/Composer/Repository/Vcs/HgBitbucketDriver.php
/usr/share/php/Composer/Repository/Vcs/HgDriver.php
/usr/share/php/Composer/Repository/Vcs/PerforceDriver.php
/usr/share/php/Composer/Repository/Vcs/SvnDriver.php
/usr/share/php/Composer/Repository/Vcs/VcsDriver.php
/usr/share/php/Composer/Repository/Vcs/VcsDriverInterface.php
/usr/share/php/Composer/Repository/VcsRepository.php
/usr/share/php/Composer/Repository/VersionCacheInterface.php
/usr/share/php/Composer/Repository/WritableArrayRepository.php
/usr/share/php/Composer/Repository/WritableRepositoryInterface.php
/usr/share/php/Composer/Script
/usr/share/php/Composer/Script/Event.php
/usr/share/php/Composer/Script/ScriptEvents.php
/usr/share/php/Composer/SelfUpdate
/usr/share/php/Composer/SelfUpdate/Keys.php
/usr/share/php/Composer/SelfUpdate/Versions.php
/usr/share/php/Composer/Util
/usr/share/php/Composer/Util/AuthHelper.php
/usr/share/php/Composer/Util/Bitbucket.php
/usr/share/php/Composer/Util/ComposerMirror.php
/usr/share/php/Composer/Util/ConfigValidator.php
/usr/share/php/Composer/Util/ErrorHandler.php
/usr/share/php/Composer/Util/Filesystem.php
/usr/share/php/Composer/Util/Git.php
/usr/share/php/Composer/Util/GitHub.php
/usr/share/php/Composer/Util/GitLab.php
/usr/share/php/Composer/Util/Hg.php
/usr/share/php/Composer/Util/Http
/usr/share/php/Composer/Util/Http/CurlDownloader.php
/usr/share/php/Composer/Util/Http/CurlResponse.php
/usr/share/php/Composer/Util/Http/ProxyHelper.php
/usr/share/php/Composer/Util/Http/ProxyManager.php
/usr/share/php/Composer/Util/Http/RequestProxy.php
/usr/share/php/Composer/Util/Http/Response.php
/usr/share/php/Composer/Util/HttpDownloader.php
/usr/share/php/Composer/Util/IniHelper.php
/usr/share/php/Composer/Util/Loop.php
/usr/share/php/Composer/Util/MetadataMinifier.php
/usr/share/php/Composer/Util/NoProxyPattern.php
/usr/share/php/Composer/Util/PackageSorter.php
/usr/share/php/Composer/Util/Perforce.php
/usr/share/php/Composer/Util/Platform.php
/usr/share/php/Composer/Util/ProcessExecutor.php
/usr/share/php/Composer/Util/RemoteFilesystem.php
/usr/share/php/Composer/Util/Silencer.php
/usr/share/php/Composer/Util/StreamContextFactory.php
/usr/share/php/Composer/Util/Svn.php
/usr/share/php/Composer/Util/SyncHelper.php
/usr/share/php/Composer/Util/Tar.php
/usr/share/php/Composer/Util/TlsHelper.php
/usr/share/php/Composer/Util/Url.php
/usr/share/php/Composer/Util/Zip.php
/usr/share/php/Composer/autoload.php
/etc/profile.d/composer.csh
/etc/profile.d/composer.sh
/usr/bin/composer
/usr/share/composer
/usr/share/composer/LICENSE
/usr/share/composer/res
/usr/share/composer/res/composer-repository-schema.json
/usr/share/composer/res/composer-schema.json
/usr/share/doc/composer
/usr/share/doc/composer/CHANGELOG.md
/usr/share/doc/composer/CODE_OF_CONDUCT.md
/usr/share/doc/composer/README.md
/usr/share/doc/composer/UPGRADE-2.0.md
/usr/share/doc/composer/composer.json
/usr/share/doc/composer/doc
/usr/share/doc/composer/doc/00-intro.md
/usr/share/doc/composer/doc/01-basic-usage.md
/usr/share/doc/composer/doc/02-libraries.md
/usr/share/doc/composer/doc/03-cli.md
/usr/share/doc/composer/doc/04-schema.md
/usr/share/doc/composer/doc/05-repositories.md
/usr/share/doc/composer/doc/06-config.md
/usr/share/doc/composer/doc/07-runtime.md
/usr/share/doc/composer/doc/08-community.md
/usr/share/doc/composer/doc/articles
/usr/share/doc/composer/doc/articles/aliases.md
/usr/share/doc/composer/doc/articles/authentication-for-private-packages.md
/usr/share/doc/composer/doc/articles/autoloader-optimization.md
/usr/share/doc/composer/doc/articles/custom-installers.md
/usr/share/doc/composer/doc/articles/handling-private-packages.md
/usr/share/doc/composer/doc/articles/plugins.md
/usr/share/doc/composer/doc/articles/repository-priorities.md
/usr/share/doc/composer/doc/articles/resolving-merge-conflicts.md
/usr/share/doc/composer/doc/articles/scripts.md
/usr/share/doc/composer/doc/articles/troubleshooting.md
/usr/share/doc/composer/doc/articles/vendor-binaries.md
/usr/share/doc/composer/doc/articles/versions.md
/usr/share/doc/composer/doc/dev
/usr/share/doc/composer/doc/dev/DefaultPolicy.md
/usr/share/doc/composer/doc/faqs
/usr/share/doc/composer/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md
/usr/share/doc/composer/doc/faqs/how-to-install-composer-programmatically.md
/usr/share/doc/composer/doc/faqs/how-to-install-untrusted-packages-safely.md
/usr/share/doc/composer/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md
/usr/share/doc/composer/doc/faqs/which-version-numbering-system-does-composer-itself-use.md
/usr/share/doc/composer/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md
/usr/share/doc/composer/doc/faqs/why-are-version-constraints-combining-comparisons-and-wildcards-a-bad-idea.md
/usr/share/doc/composer/doc/faqs/why-can't-composer-load-repositories-recursively.md
/usr/share/doc/composer/doc/fixtures
/usr/share/doc/composer/doc/fixtures/fixtures.md
/usr/share/doc/composer/doc/fixtures/repo-composer-plain
/usr/share/doc/composer/doc/fixtures/repo-composer-plain/packages.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/bar
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/bar/baz$923363b3c22e73abb2e3fd891c8156dd4d0821a97fd3e428bc910833e3e46dbe.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/foo
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/foo/bar$4baabb3303afa3e34a4d3af18fb138e5f3b79029c1f8d9ab5b477ea15776ba0a.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/gar
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/gar/nix$5d210670cb46c8364c8e3fb449967b9bea558b971e5b082f330ae4f1d484c321.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/provider-active$1893a061e579543822389ecd12d791c612db0c05e22d90e9286e233cacd86ed8.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/qux
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/p/qux/quux$c142d1a07ca354be46b613f59f1d601923a5a00ccc5fcce50a77ecdd461eb72d.json
/usr/share/doc/composer/doc/fixtures/repo-composer-with-providers/packages.json
/usr/share/licenses/composer
/usr/share/licenses/composer/LICENSE
/usr/share/php/Composer
/usr/share/php/Composer/Autoload
/usr/share/php/Composer/Autoload/AutoloadGenerator.php
/usr/share/php/Composer/Autoload/ClassLoader.php
/usr/share/php/Composer/Autoload/ClassMapGenerator.php
/usr/share/php/Composer/Cache.php
/usr/share/php/Composer/Command
/usr/share/php/Composer/Command/AboutCommand.php
/usr/share/php/Composer/Command/ArchiveCommand.php
/usr/share/php/Composer/Command/BaseCommand.php
/usr/share/php/Composer/Command/BaseDependencyCommand.php
/usr/share/php/Composer/Command/CheckPlatformReqsCommand.php
/usr/share/php/Composer/Command/ClearCacheCommand.php
/usr/share/php/Composer/Command/ConfigCommand.php
/usr/share/php/Composer/Command/CreateProjectCommand.php
/usr/share/php/Composer/Command/DependsCommand.php
/usr/share/php/Composer/Command/DiagnoseCommand.php
/usr/share/php/Composer/Command/DumpAutoloadCommand.php
/usr/share/php/Composer/Command/ExecCommand.php
/usr/share/php/Composer/Command/FundCommand.php
/usr/share/php/Composer/Command/GlobalCommand.php
/usr/share/php/Composer/Command/HomeCommand.php
/usr/share/php/Composer/Command/InitCommand.php
/usr/share/php/Composer/Command/InstallCommand.php
/usr/share/php/Composer/Command/LicensesCommand.php
/usr/share/php/Composer/Command/OutdatedCommand.php
/usr/share/php/Composer/Command/ProhibitsCommand.php
/usr/share/php/Composer/Command/RemoveCommand.php
/usr/share/php/Composer/Command/RequireCommand.php
/usr/share/php/Composer/Command/RunScriptCommand.php
/usr/share/php/Composer/Command/ScriptAliasCommand.php
/usr/share/php/Composer/Command/SearchCommand.php
/usr/share/php/Composer/Command/SelfUpdateCommand.php
/usr/share/php/Composer/Command/ShowCommand.php
/usr/share/php/Composer/Command/StatusCommand.php
/usr/share/php/Composer/Command/SuggestsCommand.php
/usr/share/php/Composer/Command/UpdateCommand.php
/usr/share/php/Composer/Command/ValidateCommand.php
/usr/share/php/Composer/Compiler.php
/usr/share/php/Composer/Composer.php
/usr/share/php/Composer/Config
/usr/share/php/Composer/Config.php
/usr/share/php/Composer/Config/ConfigSourceInterface.php
/usr/share/php/Composer/Config/JsonConfigSource.php
/usr/share/php/Composer/Console
/usr/share/php/Composer/Console/Application.php
/usr/share/php/Composer/Console/GithubActionError.php
/usr/share/php/Composer/Console/HtmlOutputFormatter.php
/usr/share/php/Composer/DependencyResolver
/usr/share/php/Composer/DependencyResolver/Decisions.php
/usr/share/php/Composer/DependencyResolver/DefaultPolicy.php
/usr/share/php/Composer/DependencyResolver/GenericRule.php
/usr/share/php/Composer/DependencyResolver/LocalRepoTransaction.php
/usr/share/php/Composer/DependencyResolver/LockTransaction.php
/usr/share/php/Composer/DependencyResolver/MultiConflictRule.php
/usr/share/php/Composer/DependencyResolver/Operation
/usr/share/php/Composer/DependencyResolver/Operation/InstallOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/MarkAliasInstalledOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/MarkAliasUninstalledOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/OperationInterface.php
/usr/share/php/Composer/DependencyResolver/Operation/SolverOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/UninstallOperation.php
/usr/share/php/Composer/DependencyResolver/Operation/UpdateOperation.php
/usr/share/php/Composer/DependencyResolver/PolicyInterface.php
/usr/share/php/Composer/DependencyResolver/Pool.php
/usr/share/php/Composer/DependencyResolver/PoolBuilder.php
/usr/share/php/Composer/DependencyResolver/Problem.php
/usr/share/php/Composer/DependencyResolver/Request.php
/usr/share/php/Composer/DependencyResolver/Rule.php
/usr/share/php/Composer/DependencyResolver/Rule2Literals.php
/usr/share/php/Composer/DependencyResolver/RuleSet.php
/usr/share/php/Composer/DependencyResolver/RuleSetGenerator.php
/usr/share/php/Composer/DependencyResolver/RuleSetIterator.php
/usr/share/php/Composer/DependencyResolver/RuleWatchChain.php
/usr/share/php/Composer/DependencyResolver/RuleWatchGraph.php
/usr/share/php/Composer/DependencyResolver/RuleWatchNode.php
/usr/share/php/Composer/DependencyResolver/Solver.php
/usr/share/php/Composer/DependencyResolver/SolverBugException.php
/usr/share/php/Composer/DependencyResolver/SolverProblemsException.php
/usr/share/php/Composer/DependencyResolver/Transaction.php
/usr/share/php/Composer/Downloader
/usr/share/php/Composer/Downloader/ArchiveDownloader.php
/usr/share/php/Composer/Downloader/ChangeReportInterface.php
/usr/share/php/Composer/Downloader/DownloadManager.php
/usr/share/php/Composer/Downloader/DownloaderInterface.php
/usr/share/php/Composer/Downloader/DvcsDownloaderInterface.php
/usr/share/php/Composer/Downloader/FileDownloader.php
/usr/share/php/Composer/Downloader/FilesystemException.php
/usr/share/php/Composer/Downloader/FossilDownloader.php
/usr/share/php/Composer/Downloader/GitDownloader.php
/usr/share/php/Composer/Downloader/GzipDownloader.php
/usr/share/php/Composer/Downloader/HgDownloader.php
/usr/share/php/Composer/Downloader/MaxFileSizeExceededException.php
/usr/share/php/Composer/Downloader/PathDownloader.php
/usr/share/php/Composer/Downloader/PerforceDownloader.php
/usr/share/php/Composer/Downloader/PharDownloader.php
/usr/share/php/Composer/Downloader/RarDownloader.php
/usr/share/php/Composer/Downloader/SvnDownloader.php
/usr/share/php/Composer/Downloader/TarDownloader.php
/usr/share/php/Composer/Downloader/TransportException.php
/usr/share/php/Composer/Downloader/VcsCapableDownloaderInterface.php
/usr/share/php/Composer/Downloader/VcsDownloader.php
/usr/share/php/Composer/Downloader/XzDownloader.php
/usr/share/php/Composer/Downloader/ZipDownloader.php
/usr/share/php/Composer/EventDispatcher
/usr/share/php/Composer/EventDispatcher/Event.php
/usr/share/php/Composer/EventDispatcher/EventDispatcher.php
/usr/share/php/Composer/EventDispatcher/EventSubscriberInterface.php
/usr/share/php/Composer/EventDispatcher/ScriptExecutionException.php
/usr/share/php/Composer/Exception
/usr/share/php/Composer/Exception/IrrecoverableDownloadException.php
/usr/share/php/Composer/Exception/NoSslException.php
/usr/share/php/Composer/Factory.php
/usr/share/php/Composer/IO
/usr/share/php/Composer/IO/BaseIO.php
/usr/share/php/Composer/IO/BufferIO.php
/usr/share/php/Composer/IO/ConsoleIO.php
/usr/share/php/Composer/IO/IOInterface.php
/usr/share/php/Composer/IO/NullIO.php
/usr/share/php/Composer/InstalledVersions.php
/usr/share/php/Composer/Installer
/usr/share/php/Composer/Installer.php
/usr/share/php/Composer/Installer/BinaryInstaller.php
/usr/share/php/Composer/Installer/BinaryPresenceInterface.php
/usr/share/php/Composer/Installer/InstallationManager.php
/usr/share/php/Composer/Installer/InstallerEvent.php
/usr/share/php/Composer/Installer/InstallerEvents.php
/usr/share/php/Composer/Installer/InstallerInterface.php
/usr/share/php/Composer/Installer/LibraryInstaller.php
/usr/share/php/Composer/Installer/MetapackageInstaller.php
/usr/share/php/Composer/Installer/NoopInstaller.php
/usr/share/php/Composer/Installer/PackageEvent.php
/usr/share/php/Composer/Installer/PackageEvents.php
/usr/share/php/Composer/Installer/PluginInstaller.php
/usr/share/php/Composer/Installer/ProjectInstaller.php
/usr/share/php/Composer/Installer/SuggestedPackagesReporter.php
/usr/share/php/Composer/Json
/usr/share/php/Composer/Json/JsonFile.php
/usr/share/php/Composer/Json/JsonFormatter.php
/usr/share/php/Composer/Json/JsonManipulator.php
/usr/share/php/Composer/Json/JsonValidationException.php
/usr/share/php/Composer/Package
/usr/share/php/Composer/Package/AliasPackage.php
/usr/share/php/Composer/Package/Archiver
/usr/share/php/Composer/Package/Archiver/ArchivableFilesFilter.php
/usr/share/php/Composer/Package/Archiver/ArchivableFilesFinder.php
/usr/share/php/Composer/Package/Archiver/ArchiveManager.php
/usr/share/php/Composer/Package/Archiver/ArchiverInterface.php
/usr/share/php/Composer/Package/Archiver/BaseExcludeFilter.php
/usr/share/php/Composer/Package/Archiver/ComposerExcludeFilter.php
/usr/share/php/Composer/Package/Archiver/GitExcludeFilter.php
/usr/share/php/Composer/Package/Archiver/HgExcludeFilter.php
/usr/share/php/Composer/Package/Archiver/PharArchiver.php
/usr/share/php/Composer/Package/Archiver/ZipArchiver.php
/usr/share/php/Composer/Package/BasePackage.php
/usr/share/php/Composer/Package/Comparer
/usr/share/php/Composer/Package/Comparer/Comparer.php
/usr/share/php/Composer/Package/CompletePackage.php
/usr/share/php/Composer/Package/CompletePackageInterface.php
/usr/share/php/Composer/Package/Dumper
/usr/share/php/Composer/Package/Dumper/ArrayDumper.php
/usr/share/php/Composer/Package/Link.php
/usr/share/php/Composer/Package/Loader
/usr/share/php/Composer/Package/Loader/ArrayLoader.php
/usr/share/php/Composer/Package/Loader/InvalidPackageException.php
/usr/share/php/Composer/Package/Loader/JsonLoader.php
/usr/share/php/Composer/Package/Loader/LoaderInterface.php
/usr/share/php/Composer/Package/Loader/RootPackageLoader.php
/usr/share/php/Composer/Package/Loader/ValidatingArrayLoader.php
/usr/share/php/Composer/Package/Locker.php
/usr/share/php/Composer/Package/Package.php
/usr/share/php/Composer/Package/PackageInterface.php
/usr/share/php/Composer/Package/RootAliasPackage.php
/usr/share/php/Composer/Package/RootPackage.php
/usr/share/php/Composer/Package/RootPackageInterface.php
/usr/share/php/Composer/Package/Version
/usr/share/php/Composer/Package/Version/StabilityFilter.php
/usr/share/php/Composer/Package/Version/VersionGuesser.php
/usr/share/php/Composer/Package/Version/VersionParser.php
/usr/share/php/Composer/Package/Version/VersionSelector.php
/usr/share/php/Composer/Platform
/usr/share/php/Composer/Platform/HhvmDetector.php
/usr/share/php/Composer/Platform/Runtime.php
/usr/share/php/Composer/Platform/Version.php
/usr/share/php/Composer/Plugin
/usr/share/php/Composer/Plugin/Capability
/usr/share/php/Composer/Plugin/Capability/Capability.php
/usr/share/php/Composer/Plugin/Capability/CommandProvider.php
/usr/share/php/Composer/Plugin/Capable.php
/usr/share/php/Composer/Plugin/CommandEvent.php
/usr/share/php/Composer/Plugin/PluginEvents.php
/usr/share/php/Composer/Plugin/PluginInterface.php
/usr/share/php/Composer/Plugin/PluginManager.php
/usr/share/php/Composer/Plugin/PostFileDownloadEvent.php
/usr/share/php/Composer/Plugin/PreCommandRunEvent.php
/usr/share/php/Composer/Plugin/PreFileDownloadEvent.php
/usr/share/php/Composer/Plugin/PrePoolCreateEvent.php
/usr/share/php/Composer/Question
/usr/share/php/Composer/Question/StrictConfirmationQuestion.php
/usr/share/php/Composer/Repository
/usr/share/php/Composer/Repository/ArrayRepository.php
/usr/share/php/Composer/Repository/ArtifactRepository.php
/usr/share/php/Composer/Repository/ComposerRepository.php
/usr/share/php/Composer/Repository/CompositeRepository.php
/usr/share/php/Composer/Repository/ConfigurableRepositoryInterface.php
/usr/share/php/Composer/Repository/FilesystemRepository.php
/usr/share/php/Composer/Repository/FilterRepository.php
/usr/share/php/Composer/Repository/InstalledArrayRepository.php
/usr/share/php/Composer/Repository/InstalledFilesystemRepository.php
/usr/share/php/Composer/Repository/InstalledRepository.php
/usr/share/php/Composer/Repository/InstalledRepositoryInterface.php
/usr/share/php/Composer/Repository/InvalidRepositoryException.php
/usr/share/php/Composer/Repository/LockArrayRepository.php
/usr/share/php/Composer/Repository/PackageRepository.php
/usr/share/php/Composer/Repository/PathRepository.php
/usr/share/php/Composer/Repository/PearRepository.php
/usr/share/php/Composer/Repository/PlatformRepository.php
/usr/share/php/Composer/Repository/RepositoryFactory.php
/usr/share/php/Composer/Repository/RepositoryInterface.php
/usr/share/php/Composer/Repository/RepositoryManager.php
/usr/share/php/Composer/Repository/RepositorySecurityException.php
/usr/share/php/Composer/Repository/RepositorySet.php
/usr/share/php/Composer/Repository/RootPackageRepository.php
/usr/share/php/Composer/Repository/Vcs
/usr/share/php/Composer/Repository/Vcs/BitbucketDriver.php
/usr/share/php/Composer/Repository/Vcs/FossilDriver.php
/usr/share/php/Composer/Repository/Vcs/GitBitbucketDriver.php
/usr/share/php/Composer/Repository/Vcs/GitDriver.php
/usr/share/php/Composer/Repository/Vcs/GitHubDriver.php
/usr/share/php/Composer/Repository/Vcs/GitLabDriver.php
/usr/share/php/Composer/Repository/Vcs/HgBitbucketDriver.php
/usr/share/php/Composer/Repository/Vcs/HgDriver.php
/usr/share/php/Composer/Repository/Vcs/PerforceDriver.php
/usr/share/php/Composer/Repository/Vcs/SvnDriver.php
/usr/share/php/Composer/Repository/Vcs/VcsDriver.php
/usr/share/php/Composer/Repository/Vcs/VcsDriverInterface.php
/usr/share/php/Composer/Repository/VcsRepository.php
/usr/share/php/Composer/Repository/VersionCacheInterface.php
/usr/share/php/Composer/Repository/WritableArrayRepository.php
/usr/share/php/Composer/Repository/WritableRepositoryInterface.php
/usr/share/php/Composer/Script
/usr/share/php/Composer/Script/Event.php
/usr/share/php/Composer/Script/ScriptEvents.php
/usr/share/php/Composer/SelfUpdate
/usr/share/php/Composer/SelfUpdate/Keys.php
/usr/share/php/Composer/SelfUpdate/Versions.php
/usr/share/php/Composer/Util
/usr/share/php/Composer/Util/AuthHelper.php
/usr/share/php/Composer/Util/Bitbucket.php
/usr/share/php/Composer/Util/ComposerMirror.php
/usr/share/php/Composer/Util/ConfigValidator.php
/usr/share/php/Composer/Util/ErrorHandler.php
/usr/share/php/Composer/Util/Filesystem.php
/usr/share/php/Composer/Util/Git.php
/usr/share/php/Composer/Util/GitHub.php
/usr/share/php/Composer/Util/GitLab.php
/usr/share/php/Composer/Util/Hg.php
/usr/share/php/Composer/Util/Http
/usr/share/php/Composer/Util/Http/CurlDownloader.php
/usr/share/php/Composer/Util/Http/CurlResponse.php
/usr/share/php/Composer/Util/Http/ProxyHelper.php
/usr/share/php/Composer/Util/Http/ProxyManager.php
/usr/share/php/Composer/Util/Http/RequestProxy.php
/usr/share/php/Composer/Util/Http/Response.php
/usr/share/php/Composer/Util/HttpDownloader.php
/usr/share/php/Composer/Util/IniHelper.php
/usr/share/php/Composer/Util/Loop.php
/usr/share/php/Composer/Util/MetadataMinifier.php
/usr/share/php/Composer/Util/NoProxyPattern.php
/usr/share/php/Composer/Util/PackageSorter.php
/usr/share/php/Composer/Util/Perforce.php
/usr/share/php/Composer/Util/Platform.php
/usr/share/php/Composer/Util/ProcessExecutor.php
/usr/share/php/Composer/Util/RemoteFilesystem.php
/usr/share/php/Composer/Util/Silencer.php
/usr/share/php/Composer/Util/StreamContextFactory.php
/usr/share/php/Composer/Util/Svn.php
/usr/share/php/Composer/Util/SyncHelper.php
/usr/share/php/Composer/Util/Tar.php
/usr/share/php/Composer/Util/TlsHelper.php
/usr/share/php/Composer/Util/Url.php
/usr/share/php/Composer/Util/Zip.php
/usr/share/php/Composer/autoload.php

References

Summary

In this tutorial we learn how to install composer on Fedora 34 using yum and dnf.