Composer API

Classes

Composer\Autoload\AutoloadGenerator
Composer\Autoload\ClassLoader ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
Composer\Autoload\ClassMapGenerator ClassMapGenerator
Composer\Cache Reads/writes to a filesystem cache
Composer\Command\AboutCommand
Composer\Command\ArchiveCommand Creates an archive of a package for distribution.
Composer\Command\BaseCommand Base class for Composer commands
Composer\Command\BaseDependencyCommand Base implementation for commands mapping dependency relationships.
Composer\Command\ClearCacheCommand
Composer\Command\ConfigCommand
Composer\Command\CreateProjectCommand Install a package as new project into new directory.
Composer\Command\DependsCommand
Composer\Command\DiagnoseCommand
Composer\Command\DumpAutoloadCommand
Composer\Command\ExecCommand
Composer\Command\GlobalCommand
Composer\Command\HomeCommand
Composer\Command\InitCommand
Composer\Command\InstallCommand
Composer\Command\LicensesCommand
Composer\Command\OutdatedCommand
Composer\Command\ProhibitsCommand
Composer\Command\RemoveCommand
Composer\Command\RequireCommand
Composer\Command\RunScriptCommand
Composer\Command\ScriptAliasCommand
Composer\Command\SearchCommand
Composer\Command\SelfUpdateCommand
Composer\Command\ShowCommand
Composer\Command\StatusCommand
Composer\Command\SuggestsCommand
Composer\Command\UpdateCommand
Composer\Command\ValidateCommand ValidateCommand
Composer\Compiler The Compiler class compiles composer into a phar
Composer\Composer
Composer\Config
Composer\Config\ConfigSourceInterface Configuration Source Interface
Composer\Config\JsonConfigSource JSON Configuration Source
Composer\Console\Application The console application that handles the commands
Composer\Console\HtmlOutputFormatter
Composer\DependencyResolver\Decisions Stores decisions on installing, removing or keeping packages
Composer\DependencyResolver\DefaultPolicy
Composer\DependencyResolver\GenericRule
Composer\DependencyResolver\Operation\InstallOperation Solver install operation.
Composer\DependencyResolver\Operation\MarkAliasInstalledOperation Solver install operation.
Composer\DependencyResolver\Operation\MarkAliasUninstalledOperation Solver install operation.
Composer\DependencyResolver\Operation\OperationInterface Solver operation interface.
Composer\DependencyResolver\Operation\SolverOperation Abstract solver operation class.
Composer\DependencyResolver\Operation\UninstallOperation Solver uninstall operation.
Composer\DependencyResolver\Operation\UpdateOperation Solver update operation.
Composer\DependencyResolver\PolicyInterface
Composer\DependencyResolver\Pool A package pool contains repositories that provide packages.
Composer\DependencyResolver\Problem Represents a problem detected while solving dependencies
Composer\DependencyResolver\Request
Composer\DependencyResolver\Rule
Composer\DependencyResolver\Rule2Literals
Composer\DependencyResolver\RuleSet
Composer\DependencyResolver\RuleSetGenerator
Composer\DependencyResolver\RuleSetIterator
Composer\DependencyResolver\RuleWatchChain An extension of SplDoublyLinkedList with seek and removal of current element
Composer\DependencyResolver\RuleWatchGraph The RuleWatchGraph efficiently propagates decisions to other rules
Composer\DependencyResolver\RuleWatchNode Wrapper around a Rule which keeps track of the two literals it watches
Composer\DependencyResolver\Solver
Composer\DependencyResolver\SolverBugException
Composer\DependencyResolver\SolverProblemsException
Composer\DependencyResolver\Transaction
Composer\Downloader\ArchiveDownloader Base downloader for archives
Composer\Downloader\ChangeReportInterface ChangeReport interface.
Composer\Downloader\DownloadManager Downloaders manager.
Composer\Downloader\DownloaderInterface Downloader interface.
Composer\Downloader\DvcsDownloaderInterface DVCS Downloader interface.
Composer\Downloader\FileDownloader Base downloader for files
Composer\Downloader\FilesystemException Exception thrown when issues exist on local filesystem
Composer\Downloader\FossilDownloader
Composer\Downloader\GitDownloader
Composer\Downloader\GzipDownloader GZip archive downloader.
Composer\Downloader\HgDownloader
Composer\Downloader\PathDownloader Download a package from a local path.
Composer\Downloader\PearPackageExtractor Extractor for pear packages.
Composer\Downloader\PerforceDownloader
Composer\Downloader\PharDownloader Downloader for phar files
Composer\Downloader\RarDownloader RAR archive downloader.
Composer\Downloader\SvnDownloader
Composer\Downloader\TarDownloader Downloader for tar files: tar, tar.gz or tar.bz2
Composer\Downloader\TransportException
Composer\Downloader\VcsCapableDownloaderInterface VCS Capable Downloader interface.
Composer\Downloader\VcsDownloader
Composer\Downloader\XzDownloader Xz archive downloader.
Composer\Downloader\ZipDownloader
Composer\EventDispatcher\Event The base event class
Composer\EventDispatcher\EventDispatcher The Event Dispatcher.
Composer\EventDispatcher\EventSubscriberInterface An EventSubscriber knows which events it is interested in.
Composer\EventDispatcher\ScriptExecutionException
Composer\Exception\NoSslException
Composer\Factory Creates a configured instance of composer.
Composer\IO\BaseIO
Composer\IO\BufferIO
Composer\IO\ConsoleIO The Input/Output helper.
Composer\IO\IOInterface The Input/Output helper interface.
Composer\IO\NullIO IOInterface that is not interactive and never writes the output
Composer\Installer
Composer\Installer\BinaryInstaller Utility to handle installation of package "bin"/binaries
Composer\Installer\BinaryPresenceInterface Interface for the package installation manager that handle binary installation.
Composer\Installer\InstallationManager Package operation manager.
Composer\Installer\InstallerEvent An event for all installer.
Composer\Installer\InstallerEvents The Installer Events.
Composer\Installer\InstallerInterface Interface for the package installation manager.
Composer\Installer\LibraryInstaller Package installation manager.
Composer\Installer\MetapackageInstaller Metapackage installation manager.
Composer\Installer\NoopInstaller Does not install anything but marks packages installed in the repo
Composer\Installer\PackageEvent The Package Event.
Composer\Installer\PackageEvents Package Events.
Composer\Installer\PearBinaryInstaller Utility to handle installation of package "bin"/binaries for PEAR packages
Composer\Installer\PearInstaller Package installation manager.
Composer\Installer\PluginInstaller Installer for plugin packages
Composer\Installer\ProjectInstaller Project Installer is used to install a single package into a directory as root project.
Composer\Installer\SuggestedPackagesReporter Add suggested packages from different places to output them in the end.
Composer\Json\JsonFile Reads/writes json files.
Composer\Json\JsonFormatter Formats json strings used for php < 5.4 because the jsonencode doesn't supports the flags JSONUNESCAPEDSLASHES | JSONPRETTYPRINT | JSONUNESCAPED_UNICODE in these versions
Composer\Json\JsonManipulator
Composer\Json\JsonValidationException
Composer\Package\AliasPackage
Composer\Package\Archiver\ArchivableFilesFilter
Composer\Package\Archiver\ArchivableFilesFinder A Symfony Finder wrapper which locates files that should go into archives
Composer\Package\Archiver\ArchiveManager
Composer\Package\Archiver\ArchiverInterface
Composer\Package\Archiver\BaseExcludeFilter
Composer\Package\Archiver\ComposerExcludeFilter An exclude filter which processes composer's own exclude rules
Composer\Package\Archiver\GitExcludeFilter An exclude filter that processes gitignore and gitattributes
Composer\Package\Archiver\HgExcludeFilter An exclude filter that processes hgignore files
Composer\Package\Archiver\PharArchiver
Composer\Package\Archiver\ZipArchiver
Composer\Package\BasePackage Base class for packages providing name storage and default match implementation
Composer\Package\CompletePackage Package containing additional metadata that is not used by the solver
Composer\Package\CompletePackageInterface Defines package metadata that is not necessarily needed for solving and installing packages
Composer\Package\Dumper\ArrayDumper
Composer\Package\Link Represents a link between two packages, represented by their names
Composer\Package\LinkConstraint\EmptyConstraint
Composer\Package\LinkConstraint\LinkConstraintInterface
Composer\Package\LinkConstraint\MultiConstraint
Composer\Package\LinkConstraint\SpecificConstraint
Composer\Package\LinkConstraint\VersionConstraint
Composer\Package\Loader\ArrayLoader
Composer\Package\Loader\InvalidPackageException
Composer\Package\Loader\JsonLoader
Composer\Package\Loader\LoaderInterface Defines a loader that takes an array to create package instances
Composer\Package\Loader\RootPackageLoader ArrayLoader built for the sole purpose of loading the root package
Composer\Package\Loader\ValidatingArrayLoader
Composer\Package\Locker Reads/writes project lockfile (composer.lock).
Composer\Package\Package Core package definitions that are needed to resolve dependencies and install packages
Composer\Package\PackageInterface Defines the essential information a package has that is used during solving/installation
Composer\Package\RootAliasPackage
Composer\Package\RootPackage The root package represents the project's composer.json and contains additional metadata
Composer\Package\RootPackageInterface Defines additional fields that are only needed for the root package
Composer\Package\Version\VersionGuesser Try to guess the current version number based on different VCS configuration.
Composer\Package\Version\VersionParser
Composer\Package\Version\VersionSelector Selects the best possible version for a package
Composer\Plugin\Capability\Capability Marker interface for Plugin capabilities.
Composer\Plugin\Capability\CommandProvider Commands Provider Interface
Composer\Plugin\Capable Plugins which need to expose various implementations of the Composer Plugin Capabilities must have their declared Plugin class implementing this interface.
Composer\Plugin\CommandEvent An event for all commands.
Composer\Plugin\PluginEvents The Plugin Events.
Composer\Plugin\PluginInterface Plugin interface
Composer\Plugin\PluginManager Plugin manager
Composer\Plugin\PreFileDownloadEvent The pre file download event.
Composer\Question\StrictConfirmationQuestion Represents a yes/no question Enforces strict responses rather than non-standard answers counting as default Based on Symfony\Component\Console\Question\ConfirmationQuestion
Composer\Repository\ArrayRepository A repository implementation that simply stores packages in an array
Composer\Repository\ArtifactRepository
Composer\Repository\BaseRepository Common ancestor class for generic repository functionality.
Composer\Repository\ComposerRepository
Composer\Repository\CompositeRepository Composite repository.
Composer\Repository\ConfigurableRepositoryInterface Configurable repository interface.
Composer\Repository\FilesystemRepository Filesystem repository.
Composer\Repository\InstalledArrayRepository Installed array repository.
Composer\Repository\InstalledFilesystemRepository Installed filesystem repository.
Composer\Repository\InstalledRepositoryInterface Installable repository interface.
Composer\Repository\InvalidRepositoryException Exception thrown when a package repository is utterly broken
Composer\Repository\PackageRepository Package repository.
Composer\Repository\PathRepository This repository allows installing local packages that are not necessarily under their own VCS.
Composer\Repository\PearRepository Builds list of package from PEAR channel.
Composer\Repository\Pear\BaseChannelReader Base PEAR Channel reader.
Composer\Repository\Pear\ChannelInfo PEAR channel info
Composer\Repository\Pear\ChannelReader PEAR Channel package reader.
Composer\Repository\Pear\ChannelRest10Reader Read PEAR packages using REST 1.0 interface
Composer\Repository\Pear\ChannelRest11Reader Read PEAR packages using REST 1.1 interface
Composer\Repository\Pear\DependencyConstraint PEAR package release dependency info
Composer\Repository\Pear\DependencyInfo PEAR package release dependency info
Composer\Repository\Pear\PackageDependencyParser Read PEAR packages using REST 1.0 interface
Composer\Repository\Pear\PackageInfo PEAR Package info
Composer\Repository\Pear\ReleaseInfo PEAR package release info
Composer\Repository\PlatformRepository
Composer\Repository\RepositoryFactory
Composer\Repository\RepositoryInterface Repository interface.
Composer\Repository\RepositoryManager Repositories manager.
Composer\Repository\RepositorySecurityException Thrown when a security problem, like a broken or missing signature
Composer\Repository\VcsRepository
Composer\Repository\Vcs\BitbucketDriver
Composer\Repository\Vcs\FossilDriver
Composer\Repository\Vcs\GitBitbucketDriver
Composer\Repository\Vcs\GitDriver
Composer\Repository\Vcs\GitHubDriver
Composer\Repository\Vcs\GitLabDriver Driver for GitLab API, use the Git driver for local checkouts.
Composer\Repository\Vcs\HgBitbucketDriver
Composer\Repository\Vcs\HgDriver
Composer\Repository\Vcs\PerforceDriver
Composer\Repository\Vcs\SvnDriver
Composer\Repository\Vcs\VcsDriver A driver implementation for driver with authentication interaction.
Composer\Repository\Vcs\VcsDriverInterface
Composer\Repository\WritableArrayRepository Writable array repository.
Composer\Repository\WritableRepositoryInterface Writable repository interface.
Composer\Script\CommandEvent The Command Event.
Composer\Script\Event The script event class
Composer\Script\PackageEvent The Package Event.
Composer\Script\ScriptEvents The Script Events.
Composer\SelfUpdate\Keys
Composer\SelfUpdate\Versions
Composer\Util\AuthHelper
Composer\Util\Bitbucket
Composer\Util\ComposerMirror Composer mirror utilities
Composer\Util\ConfigValidator Validates a composer configuration.
Composer\Util\ErrorHandler Convert PHP errors into exceptions
Composer\Util\Filesystem
Composer\Util\Git
Composer\Util\GitHub
Composer\Util\GitLab
Composer\Util\IniHelper Provides ini file location functions that work with and without a restart.
Composer\Util\NoProxyPattern Tests URLs against no_proxy patterns.
Composer\Util\Perforce
Composer\Util\Platform Platform helper for uniform platform-specific tests.
Composer\Util\ProcessExecutor
Composer\Util\RemoteFilesystem
Composer\Util\Silencer Temporarily suppress PHP error reporting, usually warnings and below.
Composer\Util\SpdxLicense
Composer\Util\StreamContextFactory Allows the creation of a basic context supporting http proxy
Composer\Util\Svn
Composer\Util\TlsHelper
Composer\XdebugHandler