dependabot-composer 0.108.10 → 0.108.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/vendor/autoload.php +7 -0
- data/helpers/vendor/bin/composer +1 -0
- data/helpers/vendor/bin/jsonlint +1 -0
- data/helpers/vendor/bin/validate-json +1 -0
- data/helpers/vendor/composer/ClassLoader.php +445 -0
- data/helpers/vendor/composer/LICENSE +21 -0
- data/helpers/vendor/composer/autoload_classmap.php +9 -0
- data/helpers/vendor/composer/autoload_files.php +11 -0
- data/helpers/vendor/composer/autoload_namespaces.php +9 -0
- data/helpers/vendor/composer/autoload_psr4.php +26 -0
- data/helpers/vendor/composer/autoload_real.php +70 -0
- data/helpers/vendor/composer/autoload_static.php +128 -0
- data/helpers/vendor/composer/ca-bundle/LICENSE +19 -0
- data/helpers/vendor/composer/ca-bundle/README.md +85 -0
- data/helpers/vendor/composer/ca-bundle/composer.json +54 -0
- data/helpers/vendor/composer/ca-bundle/res/cacert.pem +3401 -0
- data/helpers/vendor/composer/ca-bundle/src/CaBundle.php +308 -0
- data/helpers/vendor/composer/composer/.gitattributes +12 -0
- data/helpers/vendor/composer/composer/.github/CONTRIBUTING.md +59 -0
- data/helpers/vendor/composer/composer/.github/ISSUE_TEMPLATE.md +25 -0
- data/helpers/vendor/composer/composer/.gitignore +11 -0
- data/helpers/vendor/composer/composer/.php_cs +58 -0
- data/helpers/vendor/composer/composer/.travis.yml +76 -0
- data/helpers/vendor/composer/composer/CHANGELOG.md +808 -0
- data/helpers/vendor/composer/composer/LICENSE +19 -0
- data/helpers/vendor/composer/composer/PORTING_INFO +39 -0
- data/helpers/vendor/composer/composer/README.md +62 -0
- data/helpers/vendor/composer/composer/appveyor.yml +33 -0
- data/helpers/vendor/composer/composer/bin/compile +31 -0
- data/helpers/vendor/composer/composer/bin/composer +62 -0
- data/helpers/vendor/composer/composer/composer.json +81 -0
- data/helpers/vendor/composer/composer/composer.lock +1800 -0
- data/helpers/vendor/composer/composer/doc/00-intro.md +156 -0
- data/helpers/vendor/composer/composer/doc/01-basic-usage.md +266 -0
- data/helpers/vendor/composer/composer/doc/02-libraries.md +153 -0
- data/helpers/vendor/composer/composer/doc/03-cli.md +931 -0
- data/helpers/vendor/composer/composer/doc/04-schema.md +924 -0
- data/helpers/vendor/composer/composer/doc/05-repositories.md +713 -0
- data/helpers/vendor/composer/composer/doc/06-config.md +277 -0
- data/helpers/vendor/composer/composer/doc/07-community.md +35 -0
- data/helpers/vendor/composer/composer/doc/articles/aliases.md +105 -0
- data/helpers/vendor/composer/composer/doc/articles/autoloader-optimization.md +111 -0
- data/helpers/vendor/composer/composer/doc/articles/custom-installers.md +204 -0
- data/helpers/vendor/composer/composer/doc/articles/handling-private-packages-with-satis.md +343 -0
- data/helpers/vendor/composer/composer/doc/articles/http-basic-authentication.md +59 -0
- data/helpers/vendor/composer/composer/doc/articles/plugins.md +285 -0
- data/helpers/vendor/composer/composer/doc/articles/scripts.md +304 -0
- data/helpers/vendor/composer/composer/doc/articles/troubleshooting.md +309 -0
- data/helpers/vendor/composer/composer/doc/articles/vendor-binaries.md +110 -0
- data/helpers/vendor/composer/composer/doc/articles/versions.md +230 -0
- data/helpers/vendor/composer/composer/doc/dev/DefaultPolicy.md +55 -0
- data/helpers/vendor/composer/composer/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md +50 -0
- data/helpers/vendor/composer/composer/doc/faqs/how-to-install-composer-programmatically.md +42 -0
- data/helpers/vendor/composer/composer/doc/faqs/how-to-install-untrusted-packages-safely.md +19 -0
- data/helpers/vendor/composer/composer/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md +32 -0
- data/helpers/vendor/composer/composer/doc/faqs/which-version-numbering-system-does-composer-itself-use.md +4 -0
- data/helpers/vendor/composer/composer/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md +21 -0
- data/helpers/vendor/composer/composer/doc/faqs/why-are-version-constraints-combining-comparisons-and-wildcards-a-bad-idea.md +21 -0
- data/helpers/vendor/composer/composer/doc/faqs/why-can't-composer-load-repositories-recursively.md +35 -0
- data/helpers/vendor/composer/composer/doc/fixtures/fixtures.md +22 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-plain/packages.json +158 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/bar/baz$923363b3c22e73abb2e3fd891c8156dd4d0821a97fd3e428bc910833e3e46dbe.json +50 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/foo/bar$4baabb3303afa3e34a4d3af18fb138e5f3b79029c1f8d9ab5b477ea15776ba0a.json +77 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/gar/nix$5d210670cb46c8364c8e3fb449967b9bea558b971e5b082f330ae4f1d484c321.json +50 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/provider-active$1893a061e579543822389ecd12d791c612db0c05e22d90e9286e233cacd86ed8.json +16 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/qux/quux$c142d1a07ca354be46b613f59f1d601923a5a00ccc5fcce50a77ecdd461eb72d.json +22 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/packages.json +9 -0
- data/helpers/vendor/composer/composer/phpunit.xml.dist +35 -0
- data/helpers/vendor/composer/composer/res/composer-repository-schema.json +110 -0
- data/helpers/vendor/composer/composer/res/composer-schema.json +843 -0
- data/helpers/vendor/composer/composer/src/Composer/Autoload/AutoloadGenerator.php +1061 -0
- data/helpers/vendor/composer/composer/src/Composer/Autoload/ClassLoader.php +445 -0
- data/helpers/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php +222 -0
- data/helpers/vendor/composer/composer/src/Composer/Cache.php +251 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php +46 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ArchiveCommand.php +166 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/BaseCommand.php +181 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/BaseDependencyCommand.php +255 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/CheckPlatformReqsCommand.php +156 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ClearCacheCommand.php +74 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ConfigCommand.php +707 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/CreateProjectCommand.php +385 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/DependsCommand.php +57 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php +729 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/DumpAutoloadCommand.php +88 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ExecCommand.php +97 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/GlobalCommand.php +111 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/HomeCommand.php +168 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/InitCommand.php +808 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/InstallCommand.php +124 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/LicensesCommand.php +159 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/OutdatedCommand.php +95 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ProhibitsCommand.php +57 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/RemoveCommand.php +163 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/RequireCommand.php +258 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/RunScriptCommand.php +141 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ScriptAliasCommand.php +66 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/SearchCommand.php +83 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/SelfUpdateCommand.php +405 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ShowCommand.php +1015 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/StatusCommand.php +214 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/SuggestsCommand.php +152 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/UpdateCommand.php +228 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ValidateCommand.php +172 -0
- data/helpers/vendor/composer/composer/src/Composer/Compiler.php +284 -0
- data/helpers/vendor/composer/composer/src/Composer/Composer.php +283 -0
- data/helpers/vendor/composer/composer/src/Composer/Config.php +461 -0
- data/helpers/vendor/composer/composer/src/Composer/Config/ConfigSourceInterface.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/Config/JsonConfigSource.php +267 -0
- data/helpers/vendor/composer/composer/src/Composer/Console/Application.php +481 -0
- data/helpers/vendor/composer/composer/src/Composer/Console/HtmlOutputFormatter.php +90 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Decisions.php +211 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php +285 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/GenericRule.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/InstallOperation.php +66 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasInstalledOperation.php +67 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasUninstalledOperation.php +67 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/OperationInterface.php +42 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/SolverOperation.php +50 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/UninstallOperation.php +66 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/UpdateOperation.php +80 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/PolicyInterface.php +27 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Pool.php +378 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php +253 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Request.php +78 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Rule.php +268 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Rule2Literals.php +113 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php +176 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php +372 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetIterator.php +94 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchChain.php +52 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchGraph.php +144 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchNode.php +113 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Solver.php +874 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/SolverBugException.php +27 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/SolverProblemsException.php +88 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Transaction.php +244 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ArchiveDownloader.php +135 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ChangeReportInterface.php +32 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DownloadManager.php +325 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DownloaderInterface.php +64 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DvcsDownloaderInterface.php +32 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FileDownloader.php +322 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FilesystemException.php +26 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FossilDownloader.php +116 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/GitDownloader.php +516 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/GzipDownloader.php +84 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/HgDownloader.php +100 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PathDownloader.php +202 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PearPackageExtractor.php +266 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PerforceDownloader.php +114 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PharDownloader.php +36 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/RarDownloader.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/SvnDownloader.php +225 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/TarDownloader.php +31 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/TransportException.php +53 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/VcsCapableDownloaderInterface.php +32 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/VcsDownloader.php +293 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/XzDownloader.php +60 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ZipDownloader.php +230 -0
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/Event.php +103 -0
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php +536 -0
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/EventSubscriberInterface.php +48 -0
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/ScriptExecutionException.php +20 -0
- data/helpers/vendor/composer/composer/src/Composer/Exception/NoSslException.php +20 -0
- data/helpers/vendor/composer/composer/src/Composer/Factory.php +653 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/BaseIO.php +255 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/BufferIO.php +59 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/ConsoleIO.php +322 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/IOInterface.php +207 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/NullIO.php +129 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer.php +1798 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/BinaryInstaller.php +214 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/BinaryPresenceInterface.php +30 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallationManager.php +326 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerEvent.php +161 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerEvents.php +43 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerInterface.php +79 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php +232 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/MetapackageInstaller.php +100 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/NoopInstaller.php +88 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PackageEvent.php +65 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php +75 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PearBinaryInstaller.php +144 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PearInstaller.php +84 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PluginInstaller.php +84 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php +99 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/SuggestedPackagesReporter.php +151 -0
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonFile.php +301 -0
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonFormatter.php +134 -0
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonManipulator.php +521 -0
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonValidationException.php +34 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/AliasPackage.php +404 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchivableFilesFilter.php +44 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchivableFilesFinder.php +105 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchiveManager.php +183 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchiverInterface.php +43 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/BaseExcludeFilter.php +148 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ComposerExcludeFilter.php +31 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/GitExcludeFilter.php +79 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/HgExcludeFilter.php +107 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/PharArchiver.php +97 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ZipArchiver.php +74 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/BasePackage.php +251 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Comparer/Comparer.php +129 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/CompletePackage.php +199 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/CompletePackageInterface.php +95 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Dumper/ArrayDumper.php +151 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Link.php +128 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/EmptyConstraint.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/LinkConstraintInterface.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/MultiConstraint.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/SpecificConstraint.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/VersionConstraint.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/ArrayLoader.php +290 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/InvalidPackageException.php +46 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/JsonLoader.php +45 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/LoaderInterface.php +30 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/RootPackageLoader.php +264 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/ValidatingArrayLoader.php +493 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Locker.php +438 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Package.php +612 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/PackageInterface.php +361 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/RootAliasPackage.php +173 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/RootPackage.php +136 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/RootPackageInterface.php +142 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionGuesser.php +302 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionParser.php +81 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionSelector.php +176 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capability/Capability.php +23 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capability/CommandProvider.php +33 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capable.php +43 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/CommandEvent.php +88 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginEvents.php +61 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginInterface.php +39 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginManager.php +403 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PreCommandRunEvent.php +68 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PreFileDownloadEvent.php +78 -0
- data/helpers/vendor/composer/composer/src/Composer/Question/StrictConfirmationQuestion.php +94 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php +208 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/ArtifactRepository.php +167 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/BaseRepository.php +157 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php +829 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/CompositeRepository.php +164 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/ConfigurableRepositoryInterface.php +23 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php +97 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledArrayRepository.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledFilesystemRepository.php +22 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledRepositoryInterface.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/InvalidRepositoryException.php +22 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/PackageRepository.php +61 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/PathRepository.php +190 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/BaseChannelReader.php +82 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelInfo.php +67 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelReader.php +101 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelRest10Reader.php +164 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelRest11Reader.php +139 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/DependencyConstraint.php +60 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/DependencyInfo.php +50 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/PackageDependencyParser.php +317 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/PackageInfo.php +94 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ReleaseInfo.php +50 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/PearRepository.php +198 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/PlatformRepository.php +342 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryFactory.php +169 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryInterface.php +74 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryManager.php +177 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositorySecurityException.php +22 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/BitbucketDriver.php +445 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/FossilDriver.php +238 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitBitbucketDriver.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitDriver.php +222 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitHubDriver.php +472 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitLabDriver.php +511 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/HgBitbucketDriver.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/HgDriver.php +230 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/PerforceDriver.php +181 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php +397 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriver.php +175 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriverInterface.php +117 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/VcsRepository.php +407 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/VersionCacheInterface.php +23 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/WritableArrayRepository.php +66 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/WritableRepositoryInterface.php +54 -0
- data/helpers/vendor/composer/composer/src/Composer/Script/CommandEvent.php +22 -0
- data/helpers/vendor/composer/composer/src/Composer/Script/Event.php +89 -0
- data/helpers/vendor/composer/composer/src/Composer/Script/PackageEvent.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Script/ScriptEvents.php +193 -0
- data/helpers/vendor/composer/composer/src/Composer/SelfUpdate/Keys.php +36 -0
- data/helpers/vendor/composer/composer/src/Composer/SelfUpdate/Versions.php +75 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/AuthHelper.php +63 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Bitbucket.php +245 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/ComposerMirror.php +57 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/ConfigValidator.php +191 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/ErrorHandler.php +79 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Filesystem.php +715 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Git.php +374 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/GitHub.php +180 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/GitLab.php +163 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Hg.php +94 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/IniHelper.php +64 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/NoProxyPattern.php +147 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Perforce.php +581 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Platform.php +92 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/ProcessExecutor.php +192 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php +1109 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Silencer.php +78 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/SpdxLicense.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/StreamContextFactory.php +177 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Svn.php +381 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/TlsHelper.php +204 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Url.php +55 -0
- data/helpers/vendor/composer/composer/src/Composer/XdebugHandler.php +31 -0
- data/helpers/vendor/composer/composer/src/bootstrap.php +24 -0
- data/helpers/vendor/composer/installed.json +947 -0
- data/helpers/vendor/composer/semver/CHANGELOG.md +72 -0
- data/helpers/vendor/composer/semver/LICENSE +19 -0
- data/helpers/vendor/composer/semver/README.md +70 -0
- data/helpers/vendor/composer/semver/composer.json +58 -0
- data/helpers/vendor/composer/semver/src/Comparator.php +111 -0
- data/helpers/vendor/composer/semver/src/Constraint/AbstractConstraint.php +63 -0
- data/helpers/vendor/composer/semver/src/Constraint/Constraint.php +219 -0
- data/helpers/vendor/composer/semver/src/Constraint/ConstraintInterface.php +32 -0
- data/helpers/vendor/composer/semver/src/Constraint/EmptyConstraint.php +59 -0
- data/helpers/vendor/composer/semver/src/Constraint/MultiConstraint.php +120 -0
- data/helpers/vendor/composer/semver/src/Semver.php +127 -0
- data/helpers/vendor/composer/semver/src/VersionParser.php +540 -0
- data/helpers/vendor/composer/spdx-licenses/.php_cs.dist +59 -0
- data/helpers/vendor/composer/spdx-licenses/CHANGELOG.md +89 -0
- data/helpers/vendor/composer/spdx-licenses/LICENSE +19 -0
- data/helpers/vendor/composer/spdx-licenses/README.md +69 -0
- data/helpers/vendor/composer/spdx-licenses/composer.json +56 -0
- data/helpers/vendor/composer/spdx-licenses/res/spdx-exceptions.json +101 -0
- data/helpers/vendor/composer/spdx-licenses/res/spdx-licenses.json +1932 -0
- data/helpers/vendor/composer/spdx-licenses/src/SpdxLicenses.php +343 -0
- data/helpers/vendor/composer/xdebug-handler/CHANGELOG.md +55 -0
- data/helpers/vendor/composer/xdebug-handler/LICENSE +21 -0
- data/helpers/vendor/composer/xdebug-handler/README.md +288 -0
- data/helpers/vendor/composer/xdebug-handler/composer.json +40 -0
- data/helpers/vendor/composer/xdebug-handler/src/PhpConfig.php +73 -0
- data/helpers/vendor/composer/xdebug-handler/src/Process.php +160 -0
- data/helpers/vendor/composer/xdebug-handler/src/Status.php +163 -0
- data/helpers/vendor/composer/xdebug-handler/src/XdebugHandler.php +565 -0
- data/helpers/vendor/justinrainbow/json-schema/.gitattributes +5 -0
- data/helpers/vendor/justinrainbow/json-schema/.php_cs.dist +30 -0
- data/helpers/vendor/justinrainbow/json-schema/LICENSE +21 -0
- data/helpers/vendor/justinrainbow/json-schema/README.md +206 -0
- data/helpers/vendor/justinrainbow/json-schema/bin/validate-json +251 -0
- data/helpers/vendor/justinrainbow/json-schema/composer.json +76 -0
- data/helpers/vendor/justinrainbow/json-schema/demo/README.md +14 -0
- data/helpers/vendor/justinrainbow/json-schema/demo/data.json +3 -0
- data/helpers/vendor/justinrainbow/json-schema/demo/demo.php +18 -0
- data/helpers/vendor/justinrainbow/json-schema/demo/schema.json +3 -0
- data/helpers/vendor/justinrainbow/json-schema/dist/schema/json-schema-draft-03.json +174 -0
- data/helpers/vendor/justinrainbow/json-schema/dist/schema/json-schema-draft-04.json +150 -0
- data/helpers/vendor/justinrainbow/json-schema/phpunit.xml.dist +26 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php +148 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/CollectionConstraint.php +121 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php +213 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php +65 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/EnumConstraint.php +54 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php +220 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/FormatConstraint.php +214 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/NumberConstraint.php +81 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ObjectConstraint.php +192 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php +94 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/StringConstraint.php +60 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/LooseTypeCheck.php +68 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/StrictTypeCheck.php +40 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/TypeCheckInterface.php +18 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeConstraint.php +261 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php +413 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Entity/JsonPointer.php +161 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ExceptionInterface.php +7 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidArgumentException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidConfigException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaMediaTypeException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSourceUriException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/JsonDecodingException.php +40 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ResourceNotFoundException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/RuntimeException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/UnresolvableJsonPointerException.php +19 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/UriResolverException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ValidationException.php +14 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Iterator/ObjectIterator.php +149 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Rfc3339.php +30 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php +169 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorageInterface.php +41 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php +34 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php +83 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php +93 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/PredefinedArray.php +56 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/UriRetrieverInterface.php +36 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriResolver.php +175 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php +349 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/UriResolverInterface.php +26 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/UriRetrieverInterface.php +26 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php +90 -0
- data/helpers/vendor/psr/log/.gitignore +1 -0
- data/helpers/vendor/psr/log/LICENSE +19 -0
- data/helpers/vendor/psr/log/Psr/Log/AbstractLogger.php +128 -0
- data/helpers/vendor/psr/log/Psr/Log/InvalidArgumentException.php +7 -0
- data/helpers/vendor/psr/log/Psr/Log/LogLevel.php +18 -0
- data/helpers/vendor/psr/log/Psr/Log/LoggerAwareInterface.php +18 -0
- data/helpers/vendor/psr/log/Psr/Log/LoggerAwareTrait.php +26 -0
- data/helpers/vendor/psr/log/Psr/Log/LoggerInterface.php +123 -0
- data/helpers/vendor/psr/log/Psr/Log/LoggerTrait.php +140 -0
- data/helpers/vendor/psr/log/Psr/Log/NullLogger.php +28 -0
- data/helpers/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php +144 -0
- data/helpers/vendor/psr/log/Psr/Log/Test/TestLogger.php +146 -0
- data/helpers/vendor/psr/log/README.md +52 -0
- data/helpers/vendor/psr/log/composer.json +26 -0
- data/helpers/vendor/seld/jsonlint/.gitignore +3 -0
- data/helpers/vendor/seld/jsonlint/.travis.yml +25 -0
- data/helpers/vendor/seld/jsonlint/CHANGELOG.md +66 -0
- data/helpers/vendor/seld/jsonlint/LICENSE +19 -0
- data/helpers/vendor/seld/jsonlint/README.md +89 -0
- data/helpers/vendor/seld/jsonlint/bin/jsonlint +117 -0
- data/helpers/vendor/seld/jsonlint/composer.json +24 -0
- data/helpers/vendor/seld/jsonlint/phpunit.xml.dist +25 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/DuplicateKeyException.php +26 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/JsonParser.php +502 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/Lexer.php +217 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/ParsingException.php +28 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/Undefined.php +16 -0
- data/helpers/vendor/seld/jsonlint/tests/JsonParserTest.php +230 -0
- data/helpers/vendor/seld/jsonlint/tests/bom.json +6 -0
- data/helpers/vendor/seld/jsonlint/tests/bootstrap.php +13 -0
- data/helpers/vendor/seld/phar-utils/.gitignore +1 -0
- data/helpers/vendor/seld/phar-utils/LICENSE +19 -0
- data/helpers/vendor/seld/phar-utils/README.md +39 -0
- data/helpers/vendor/seld/phar-utils/composer.json +26 -0
- data/helpers/vendor/seld/phar-utils/composer.lock +19 -0
- data/helpers/vendor/seld/phar-utils/src/Timestamps.php +192 -0
- data/helpers/vendor/symfony/console/.gitignore +3 -0
- data/helpers/vendor/symfony/console/Application.php +1181 -0
- data/helpers/vendor/symfony/console/CHANGELOG.md +140 -0
- data/helpers/vendor/symfony/console/Command/Command.php +654 -0
- data/helpers/vendor/symfony/console/Command/HelpCommand.php +81 -0
- data/helpers/vendor/symfony/console/Command/ListCommand.php +90 -0
- data/helpers/vendor/symfony/console/Command/LockableTrait.php +71 -0
- data/helpers/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php +37 -0
- data/helpers/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +55 -0
- data/helpers/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +62 -0
- data/helpers/vendor/symfony/console/ConsoleEvents.php +47 -0
- data/helpers/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +98 -0
- data/helpers/vendor/symfony/console/Descriptor/ApplicationDescription.php +144 -0
- data/helpers/vendor/symfony/console/Descriptor/Descriptor.php +107 -0
- data/helpers/vendor/symfony/console/Descriptor/DescriptorInterface.php +31 -0
- data/helpers/vendor/symfony/console/Descriptor/JsonDescriptor.php +168 -0
- data/helpers/vendor/symfony/console/Descriptor/MarkdownDescriptor.php +182 -0
- data/helpers/vendor/symfony/console/Descriptor/TextDescriptor.php +342 -0
- data/helpers/vendor/symfony/console/Descriptor/XmlDescriptor.php +245 -0
- data/helpers/vendor/symfony/console/Event/ConsoleCommandEvent.php +60 -0
- data/helpers/vendor/symfony/console/Event/ConsoleErrorEvent.php +58 -0
- data/helpers/vendor/symfony/console/Event/ConsoleEvent.php +67 -0
- data/helpers/vendor/symfony/console/Event/ConsoleTerminateEvent.php +53 -0
- data/helpers/vendor/symfony/console/EventListener/ErrorListener.php +91 -0
- data/helpers/vendor/symfony/console/Exception/CommandNotFoundException.php +43 -0
- data/helpers/vendor/symfony/console/Exception/ExceptionInterface.php +21 -0
- data/helpers/vendor/symfony/console/Exception/InvalidArgumentException.php +19 -0
- data/helpers/vendor/symfony/console/Exception/InvalidOptionException.php +21 -0
- data/helpers/vendor/symfony/console/Exception/LogicException.php +19 -0
- data/helpers/vendor/symfony/console/Exception/NamespaceNotFoundException.php +21 -0
- data/helpers/vendor/symfony/console/Exception/RuntimeException.php +19 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatter.php +282 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterInterface.php +71 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyle.php +203 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php +62 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php +110 -0
- data/helpers/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php +25 -0
- data/helpers/vendor/symfony/console/Helper/DebugFormatterHelper.php +127 -0
- data/helpers/vendor/symfony/console/Helper/DescriptorHelper.php +94 -0
- data/helpers/vendor/symfony/console/Helper/FormatterHelper.php +106 -0
- data/helpers/vendor/symfony/console/Helper/Helper.php +138 -0
- data/helpers/vendor/symfony/console/Helper/HelperInterface.php +39 -0
- data/helpers/vendor/symfony/console/Helper/HelperSet.php +108 -0
- data/helpers/vendor/symfony/console/Helper/InputAwareHelper.php +33 -0
- data/helpers/vendor/symfony/console/Helper/ProcessHelper.php +156 -0
- data/helpers/vendor/symfony/console/Helper/ProgressBar.php +527 -0
- data/helpers/vendor/symfony/console/Helper/ProgressIndicator.php +269 -0
- data/helpers/vendor/symfony/console/Helper/QuestionHelper.php +447 -0
- data/helpers/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +96 -0
- data/helpers/vendor/symfony/console/Helper/Table.php +813 -0
- data/helpers/vendor/symfony/console/Helper/TableCell.php +68 -0
- data/helpers/vendor/symfony/console/Helper/TableRows.php +32 -0
- data/helpers/vendor/symfony/console/Helper/TableSeparator.php +25 -0
- data/helpers/vendor/symfony/console/Helper/TableStyle.php +458 -0
- data/helpers/vendor/symfony/console/Input/ArgvInput.php +365 -0
- data/helpers/vendor/symfony/console/Input/ArrayInput.php +206 -0
- data/helpers/vendor/symfony/console/Input/Input.php +203 -0
- data/helpers/vendor/symfony/console/Input/InputArgument.php +129 -0
- data/helpers/vendor/symfony/console/Input/InputAwareInterface.php +26 -0
- data/helpers/vendor/symfony/console/Input/InputDefinition.php +404 -0
- data/helpers/vendor/symfony/console/Input/InputInterface.php +163 -0
- data/helpers/vendor/symfony/console/Input/InputOption.php +208 -0
- data/helpers/vendor/symfony/console/Input/StreamableInputInterface.php +37 -0
- data/helpers/vendor/symfony/console/Input/StringInput.php +72 -0
- data/helpers/vendor/symfony/console/LICENSE +19 -0
- data/helpers/vendor/symfony/console/Logger/ConsoleLogger.php +124 -0
- data/helpers/vendor/symfony/console/Output/BufferedOutput.php +45 -0
- data/helpers/vendor/symfony/console/Output/ConsoleOutput.php +161 -0
- data/helpers/vendor/symfony/console/Output/ConsoleOutputInterface.php +32 -0
- data/helpers/vendor/symfony/console/Output/ConsoleSectionOutput.php +141 -0
- data/helpers/vendor/symfony/console/Output/NullOutput.php +123 -0
- data/helpers/vendor/symfony/console/Output/Output.php +177 -0
- data/helpers/vendor/symfony/console/Output/OutputInterface.php +114 -0
- data/helpers/vendor/symfony/console/Output/StreamOutput.php +124 -0
- data/helpers/vendor/symfony/console/Question/ChoiceQuestion.php +184 -0
- data/helpers/vendor/symfony/console/Question/ConfirmationQuestion.php +59 -0
- data/helpers/vendor/symfony/console/Question/Question.php +246 -0
- data/helpers/vendor/symfony/console/README.md +20 -0
- data/helpers/vendor/symfony/console/Resources/bin/hiddeninput.exe +0 -0
- data/helpers/vendor/symfony/console/Style/OutputStyle.php +155 -0
- data/helpers/vendor/symfony/console/Style/StyleInterface.php +154 -0
- data/helpers/vendor/symfony/console/Style/SymfonyStyle.php +438 -0
- data/helpers/vendor/symfony/console/Terminal.php +137 -0
- data/helpers/vendor/symfony/console/Tester/ApplicationTester.php +77 -0
- data/helpers/vendor/symfony/console/Tester/CommandTester.php +78 -0
- data/helpers/vendor/symfony/console/Tester/TesterTrait.php +177 -0
- data/helpers/vendor/symfony/console/Tests/ApplicationTest.php +1814 -0
- data/helpers/vendor/symfony/console/Tests/Command/CommandTest.php +436 -0
- data/helpers/vendor/symfony/console/Tests/Command/HelpCommandTest.php +71 -0
- data/helpers/vendor/symfony/console/Tests/Command/ListCommandTest.php +113 -0
- data/helpers/vendor/symfony/console/Tests/Command/LockableTraitTest.php +67 -0
- data/helpers/vendor/symfony/console/Tests/CommandLoader/ContainerCommandLoaderTest.php +61 -0
- data/helpers/vendor/symfony/console/Tests/CommandLoader/FactoryCommandLoaderTest.php +60 -0
- data/helpers/vendor/symfony/console/Tests/DependencyInjection/AddConsoleCommandPassTest.php +258 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/AbstractDescriptorTest.php +107 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/JsonDescriptorTest.php +35 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php +45 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/ObjectsProvider.php +82 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/TextDescriptorTest.php +53 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/XmlDescriptorTest.php +27 -0
- data/helpers/vendor/symfony/console/Tests/EventListener/ErrorListenerTest.php +156 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/BarBucCommand.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplication1.php +18 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplication2.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplicationMbString.php +24 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand1.php +27 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand2.php +32 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand3.php +27 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand4.php +25 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommandMbString.php +32 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DummyOutput.php +36 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo1Command.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo2Command.php +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo3Command.php +29 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo4Command.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo5Command.php +10 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo6Command.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooCommand.php +33 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooLock2Command.php +28 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooLockCommand.php +27 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooOptCommand.php +36 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSameCaseLowercaseCommand.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSameCaseUppercaseCommand.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSubnamespaced1Command.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSubnamespaced2Command.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooWithoutAliasCommand.php +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FoobarCommand.php +25 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_0.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_1.php +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_10.php +17 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_11.php +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_12.php +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_13.php +14 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_14.php +17 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_15.php +14 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_16.php +15 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_17.php +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_2.php +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_3.php +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_4.php +34 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_4_with_iterators.php +34 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_5.php +37 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_6.php +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_7.php +15 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_8.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/interactive_command_1.php +19 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/interactive_output_1.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_0.txt +3 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_1.txt +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_11.txt +4 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_13.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_17.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_2.txt +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_3.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_4.txt +32 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_4_with_iterators.txt +32 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt +18 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_7.txt +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_8.txt +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_9.txt +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestCommand.php +28 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestTiti.php +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestToto.php +22 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.json +156 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.md +172 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.txt +17 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.xml +104 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.json +509 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.md +431 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.txt +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.xml +254 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_filtered_namespace.txt +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_gethelp.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_mbstring.md +269 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_mbstring.txt +19 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception1.txt +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception2.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception3.txt +18 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception3decorated.txt +18 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception4.txt +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1.txt +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1decorated.txt +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth2.txt +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_escapeslines.txt +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_linebreaks.txt +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run1.txt +17 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run2.txt +29 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run3.txt +29 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run4.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.json +15 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.md +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.txt +10 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.xml +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.json +33 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.md +29 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.txt +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.xml +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_mbstring.md +29 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_mbstring.txt +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.md +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.txt +2 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.xml +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.json +4 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.md +0 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.txt +0 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.json +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.txt +2 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.xml +10 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.json +14 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.txt +2 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.xml +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.json +22 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.md +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.txt +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.xml +14 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.md +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.xml +4 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.md +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.txt +2 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.xml +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.json +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.xml +8 -0
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterStyleStackTest.php +71 -0
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterStyleTest.php +100 -0
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterTest.php +355 -0
- data/helpers/vendor/symfony/console/Tests/Helper/AbstractQuestionHelperTest.php +34 -0
- data/helpers/vendor/symfony/console/Tests/Helper/FormatterHelperTest.php +129 -0
- data/helpers/vendor/symfony/console/Tests/Helper/HelperSetTest.php +127 -0
- data/helpers/vendor/symfony/console/Tests/Helper/HelperTest.php +55 -0
- data/helpers/vendor/symfony/console/Tests/Helper/ProcessHelperTest.php +133 -0
- data/helpers/vendor/symfony/console/Tests/Helper/ProgressBarTest.php +912 -0
- data/helpers/vendor/symfony/console/Tests/Helper/ProgressIndicatorTest.php +183 -0
- data/helpers/vendor/symfony/console/Tests/Helper/QuestionHelperTest.php +715 -0
- data/helpers/vendor/symfony/console/Tests/Helper/SymfonyQuestionHelperTest.php +168 -0
- data/helpers/vendor/symfony/console/Tests/Helper/TableStyleTest.php +28 -0
- data/helpers/vendor/symfony/console/Tests/Helper/TableTest.php +1199 -0
- data/helpers/vendor/symfony/console/Tests/Input/ArgvInputTest.php +466 -0
- data/helpers/vendor/symfony/console/Tests/Input/ArrayInputTest.php +177 -0
- data/helpers/vendor/symfony/console/Tests/Input/InputArgumentTest.php +103 -0
- data/helpers/vendor/symfony/console/Tests/Input/InputDefinitionTest.php +407 -0
- data/helpers/vendor/symfony/console/Tests/Input/InputOptionTest.php +196 -0
- data/helpers/vendor/symfony/console/Tests/Input/InputTest.php +149 -0
- data/helpers/vendor/symfony/console/Tests/Input/StringInputTest.php +87 -0
- data/helpers/vendor/symfony/console/Tests/Logger/ConsoleLoggerTest.php +215 -0
- data/helpers/vendor/symfony/console/Tests/Output/ConsoleOutputTest.php +42 -0
- data/helpers/vendor/symfony/console/Tests/Output/ConsoleSectionOutputTest.php +163 -0
- data/helpers/vendor/symfony/console/Tests/Output/NullOutputTest.php +88 -0
- data/helpers/vendor/symfony/console/Tests/Output/OutputTest.php +189 -0
- data/helpers/vendor/symfony/console/Tests/Output/StreamOutputTest.php +61 -0
- data/helpers/vendor/symfony/console/Tests/Question/ConfirmationQuestionTest.php +62 -0
- data/helpers/vendor/symfony/console/Tests/Style/SymfonyStyleTest.php +118 -0
- data/helpers/vendor/symfony/console/Tests/TerminalTest.php +59 -0
- data/helpers/vendor/symfony/console/Tests/Tester/ApplicationTesterTest.php +113 -0
- data/helpers/vendor/symfony/console/Tests/Tester/CommandTesterTest.php +235 -0
- data/helpers/vendor/symfony/console/composer.json +56 -0
- data/helpers/vendor/symfony/console/phpunit.xml.dist +41 -0
- data/helpers/vendor/symfony/contracts/.gitignore +3 -0
- data/helpers/vendor/symfony/contracts/CHANGELOG.md +12 -0
- data/helpers/vendor/symfony/contracts/Cache/CacheInterface.php +57 -0
- data/helpers/vendor/symfony/contracts/Cache/CacheTrait.php +71 -0
- data/helpers/vendor/symfony/contracts/Cache/CallbackInterface.php +30 -0
- data/helpers/vendor/symfony/contracts/Cache/ItemInterface.php +60 -0
- data/helpers/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php +38 -0
- data/helpers/vendor/symfony/contracts/LICENSE +19 -0
- data/helpers/vendor/symfony/contracts/README.md +70 -0
- data/helpers/vendor/symfony/contracts/Service/ResetInterface.php +30 -0
- data/helpers/vendor/symfony/contracts/Service/ServiceLocatorTrait.php +97 -0
- data/helpers/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php +53 -0
- data/helpers/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php +61 -0
- data/helpers/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php +165 -0
- data/helpers/vendor/symfony/contracts/Tests/Service/ServiceLocatorTest.php +94 -0
- data/helpers/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php +65 -0
- data/helpers/vendor/symfony/contracts/Tests/Translation/TranslatorTest.php +353 -0
- data/helpers/vendor/symfony/contracts/Translation/LocaleAwareInterface.php +31 -0
- data/helpers/vendor/symfony/contracts/Translation/TranslatorInterface.php +65 -0
- data/helpers/vendor/symfony/contracts/Translation/TranslatorTrait.php +255 -0
- data/helpers/vendor/symfony/contracts/composer.json +44 -0
- data/helpers/vendor/symfony/contracts/phpunit.xml.dist +31 -0
- data/helpers/vendor/symfony/filesystem/.gitignore +3 -0
- data/helpers/vendor/symfony/filesystem/CHANGELOG.md +59 -0
- data/helpers/vendor/symfony/filesystem/Exception/ExceptionInterface.php +21 -0
- data/helpers/vendor/symfony/filesystem/Exception/FileNotFoundException.php +34 -0
- data/helpers/vendor/symfony/filesystem/Exception/IOException.php +39 -0
- data/helpers/vendor/symfony/filesystem/Exception/IOExceptionInterface.php +27 -0
- data/helpers/vendor/symfony/filesystem/Exception/InvalidArgumentException.php +19 -0
- data/helpers/vendor/symfony/filesystem/Filesystem.php +767 -0
- data/helpers/vendor/symfony/filesystem/LICENSE +19 -0
- data/helpers/vendor/symfony/filesystem/README.md +13 -0
- data/helpers/vendor/symfony/filesystem/Tests/ExceptionTest.php +47 -0
- data/helpers/vendor/symfony/filesystem/Tests/FilesystemTest.php +1686 -0
- data/helpers/vendor/symfony/filesystem/Tests/FilesystemTestCase.php +166 -0
- data/helpers/vendor/symfony/filesystem/Tests/Fixtures/MockStream/MockStream.php +46 -0
- data/helpers/vendor/symfony/filesystem/composer.json +34 -0
- data/helpers/vendor/symfony/filesystem/phpunit.xml.dist +30 -0
- data/helpers/vendor/symfony/finder/.gitignore +3 -0
- data/helpers/vendor/symfony/finder/CHANGELOG.md +69 -0
- data/helpers/vendor/symfony/finder/Comparator/Comparator.php +98 -0
- data/helpers/vendor/symfony/finder/Comparator/DateComparator.php +51 -0
- data/helpers/vendor/symfony/finder/Comparator/NumberComparator.php +79 -0
- data/helpers/vendor/symfony/finder/Exception/AccessDeniedException.php +19 -0
- data/helpers/vendor/symfony/finder/Finder.php +783 -0
- data/helpers/vendor/symfony/finder/Glob.php +116 -0
- data/helpers/vendor/symfony/finder/Iterator/CustomFilterIterator.php +61 -0
- data/helpers/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +58 -0
- data/helpers/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +45 -0
- data/helpers/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +84 -0
- data/helpers/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +53 -0
- data/helpers/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +58 -0
- data/helpers/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +47 -0
- data/helpers/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +112 -0
- data/helpers/vendor/symfony/finder/Iterator/PathFilterIterator.php +56 -0
- data/helpers/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +140 -0
- data/helpers/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +57 -0
- data/helpers/vendor/symfony/finder/Iterator/SortableIterator.php +99 -0
- data/helpers/vendor/symfony/finder/LICENSE +19 -0
- data/helpers/vendor/symfony/finder/README.md +14 -0
- data/helpers/vendor/symfony/finder/SplFileInfo.php +78 -0
- data/helpers/vendor/symfony/finder/Tests/Comparator/ComparatorTest.php +65 -0
- data/helpers/vendor/symfony/finder/Tests/Comparator/DateComparatorTest.php +64 -0
- data/helpers/vendor/symfony/finder/Tests/Comparator/NumberComparatorTest.php +108 -0
- data/helpers/vendor/symfony/finder/Tests/FinderTest.php +1384 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/.dot/a +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/.dot/b/c.neon +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/.dot/b/d.neon +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/A/B/C/abc.dat +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/A/B/ab.dat +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/A/a.dat +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/copy/A/B/C/abc.dat.copy +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/copy/A/B/ab.dat.copy +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/copy/A/a.dat.copy +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/dolor.txt +2 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/ipsum.txt +2 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/lorem.txt +2 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/one/.dot +1 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/one/a +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/one/b/c.neon +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/one/b/d.neon +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/with space/foo.txt b/data/helpers/vendor/symfony/finder/Tests/Fixtures/with → space/foo.txt +0 -0
- data/helpers/vendor/symfony/finder/Tests/GlobTest.php +95 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/CustomFilterIteratorTest.php +46 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/DateRangeFilterIteratorTest.php +92 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/DepthRangeFilterIteratorTest.php +103 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/ExcludeDirectoryFilterIteratorTest.php +107 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/FileTypeFilterIteratorTest.php +82 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/FilecontentFilterIteratorTest.php +86 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/FilenameFilterIteratorTest.php +54 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/Iterator.php +55 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/IteratorTestCase.php +100 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/MockFileListIterator.php +21 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/MockSplFileInfo.php +132 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/MultiplePcreFilterIteratorTest.php +71 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/PathFilterIteratorTest.php +82 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/RealIteratorTestCase.php +128 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php +59 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/SizeRangeFilterIteratorTest.php +70 -0
- data/helpers/vendor/symfony/finder/Tests/Iterator/SortableIteratorTest.php +262 -0
- data/helpers/vendor/symfony/finder/composer.json +33 -0
- data/helpers/vendor/symfony/finder/phpunit.xml.dist +30 -0
- data/helpers/vendor/symfony/polyfill-ctype/Ctype.php +227 -0
- data/helpers/vendor/symfony/polyfill-ctype/LICENSE +19 -0
- data/helpers/vendor/symfony/polyfill-ctype/README.md +12 -0
- data/helpers/vendor/symfony/polyfill-ctype/bootstrap.php +26 -0
- data/helpers/vendor/symfony/polyfill-ctype/composer.json +34 -0
- data/helpers/vendor/symfony/polyfill-mbstring/LICENSE +19 -0
- data/helpers/vendor/symfony/polyfill-mbstring/Mbstring.php +800 -0
- data/helpers/vendor/symfony/polyfill-mbstring/README.md +13 -0
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1096 -0
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +5 -0
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +1104 -0
- data/helpers/vendor/symfony/polyfill-mbstring/bootstrap.php +58 -0
- data/helpers/vendor/symfony/polyfill-mbstring/composer.json +34 -0
- data/helpers/vendor/symfony/process/.gitignore +3 -0
- data/helpers/vendor/symfony/process/CHANGELOG.md +90 -0
- data/helpers/vendor/symfony/process/Exception/ExceptionInterface.php +21 -0
- data/helpers/vendor/symfony/process/Exception/InvalidArgumentException.php +21 -0
- data/helpers/vendor/symfony/process/Exception/LogicException.php +21 -0
- data/helpers/vendor/symfony/process/Exception/ProcessFailedException.php +54 -0
- data/helpers/vendor/symfony/process/Exception/ProcessSignaledException.php +41 -0
- data/helpers/vendor/symfony/process/Exception/ProcessTimedOutException.php +69 -0
- data/helpers/vendor/symfony/process/Exception/RuntimeException.php +21 -0
- data/helpers/vendor/symfony/process/ExecutableFinder.php +88 -0
- data/helpers/vendor/symfony/process/InputStream.php +90 -0
- data/helpers/vendor/symfony/process/LICENSE +19 -0
- data/helpers/vendor/symfony/process/PhpExecutableFinder.php +101 -0
- data/helpers/vendor/symfony/process/PhpProcess.php +75 -0
- data/helpers/vendor/symfony/process/Pipes/AbstractPipes.php +178 -0
- data/helpers/vendor/symfony/process/Pipes/PipesInterface.php +67 -0
- data/helpers/vendor/symfony/process/Pipes/UnixPipes.php +153 -0
- data/helpers/vendor/symfony/process/Pipes/WindowsPipes.php +191 -0
- data/helpers/vendor/symfony/process/Process.php +1652 -0
- data/helpers/vendor/symfony/process/ProcessUtils.php +69 -0
- data/helpers/vendor/symfony/process/README.md +13 -0
- data/helpers/vendor/symfony/process/Tests/ExecutableFinderTest.php +178 -0
- data/helpers/vendor/symfony/process/Tests/KillableProcessWithOutput.php +25 -0
- data/helpers/vendor/symfony/process/Tests/NonStopableProcess.php +47 -0
- data/helpers/vendor/symfony/process/Tests/PhpExecutableFinderTest.php +49 -0
- data/helpers/vendor/symfony/process/Tests/PhpProcessTest.php +63 -0
- data/helpers/vendor/symfony/process/Tests/PipeStdinInStdoutStdErrStreamSelect.php +72 -0
- data/helpers/vendor/symfony/process/Tests/ProcessFailedExceptionTest.php +137 -0
- data/helpers/vendor/symfony/process/Tests/ProcessTest.php +1537 -0
- data/helpers/vendor/symfony/process/Tests/SignalListener.php +21 -0
- data/helpers/vendor/symfony/process/composer.json +33 -0
- data/helpers/vendor/symfony/process/phpunit.xml.dist +30 -0
- metadata +903 -18
@@ -0,0 +1,931 @@
|
|
1
|
+
# Command-line interface / Commands
|
2
|
+
|
3
|
+
You've already learned how to use the command-line interface to do some
|
4
|
+
things. This chapter documents all the available commands.
|
5
|
+
|
6
|
+
To get help from the command-line, simply call `composer` or `composer list`
|
7
|
+
to see the complete list of commands, then `--help` combined with any of those
|
8
|
+
can give you more information.
|
9
|
+
|
10
|
+
As Composer uses [symfony/console](https://github.com/symfony/console) you can call commands by short name if it's not ambiguous.
|
11
|
+
```sh
|
12
|
+
composer dump
|
13
|
+
```
|
14
|
+
calls `composer dump-autoload`.
|
15
|
+
|
16
|
+
## Global Options
|
17
|
+
|
18
|
+
The following options are available with every command:
|
19
|
+
|
20
|
+
* **--verbose (-v):** Increase verbosity of messages.
|
21
|
+
* **--help (-h):** Display help information.
|
22
|
+
* **--quiet (-q):** Do not output any message.
|
23
|
+
* **--no-interaction (-n):** Do not ask any interactive question.
|
24
|
+
* **--no-plugins:** Disables plugins.
|
25
|
+
* **--working-dir (-d):** If specified, use the given directory as working directory.
|
26
|
+
* **--profile:** Display timing and memory usage information
|
27
|
+
* **--ansi:** Force ANSI output.
|
28
|
+
* **--no-ansi:** Disable ANSI output.
|
29
|
+
* **--version (-V):** Display this application version.
|
30
|
+
|
31
|
+
## Process Exit Codes
|
32
|
+
|
33
|
+
* **0:** OK
|
34
|
+
* **1:** Generic/unknown error code
|
35
|
+
* **2:** Dependency solving error code
|
36
|
+
|
37
|
+
## init
|
38
|
+
|
39
|
+
In the [Libraries](02-libraries.md) chapter we looked at how to create a
|
40
|
+
`composer.json` by hand. There is also an `init` command available that makes
|
41
|
+
it a bit easier to do this.
|
42
|
+
|
43
|
+
When you run the command it will interactively ask you to fill in the fields,
|
44
|
+
while using some smart defaults.
|
45
|
+
|
46
|
+
```sh
|
47
|
+
php composer.phar init
|
48
|
+
```
|
49
|
+
|
50
|
+
### Options
|
51
|
+
|
52
|
+
* **--name:** Name of the package.
|
53
|
+
* **--description:** Description of the package.
|
54
|
+
* **--author:** Author name of the package.
|
55
|
+
* **--type:** Type of package.
|
56
|
+
* **--homepage:** Homepage of the package.
|
57
|
+
* **--require:** Package to require with a version constraint. Should be
|
58
|
+
in format `foo/bar:1.0.0`.
|
59
|
+
* **--require-dev:** Development requirements, see **--require**.
|
60
|
+
* **--stability (-s):** Value for the `minimum-stability` field.
|
61
|
+
* **--license (-l):** License of package.
|
62
|
+
* **--repository:** Provide one (or more) custom repositories. They will be stored
|
63
|
+
in the generated composer.json, and used for auto-completion when prompting for
|
64
|
+
the list of requires. Every repository can be either an HTTP URL pointing
|
65
|
+
to a `composer` repository or a JSON string which similar to what the
|
66
|
+
[repositories](04-schema.md#repositories) key accepts.
|
67
|
+
|
68
|
+
## install / i
|
69
|
+
|
70
|
+
The `install` command reads the `composer.json` file from the current
|
71
|
+
directory, resolves the dependencies, and installs them into `vendor`.
|
72
|
+
|
73
|
+
```sh
|
74
|
+
php composer.phar install
|
75
|
+
```
|
76
|
+
|
77
|
+
If there is a `composer.lock` file in the current directory, it will use the
|
78
|
+
exact versions from there instead of resolving them. This ensures that
|
79
|
+
everyone using the library will get the same versions of the dependencies.
|
80
|
+
|
81
|
+
If there is no `composer.lock` file, Composer will create one after dependency
|
82
|
+
resolution.
|
83
|
+
|
84
|
+
### Options
|
85
|
+
|
86
|
+
* **--prefer-source:** There are two ways of downloading a package: `source`
|
87
|
+
and `dist`. For stable versions Composer will use the `dist` by default.
|
88
|
+
The `source` is a version control repository. If `--prefer-source` is
|
89
|
+
enabled, Composer will install from `source` if there is one. This is
|
90
|
+
useful if you want to make a bugfix to a project and get a local git
|
91
|
+
clone of the dependency directly.
|
92
|
+
* **--prefer-dist:** Reverse of `--prefer-source`, Composer will install
|
93
|
+
from `dist` if possible. This can speed up installs substantially on build
|
94
|
+
servers and other use cases where you typically do not run updates of the
|
95
|
+
vendors. It is also a way to circumvent problems with git if you do not
|
96
|
+
have a proper setup.
|
97
|
+
* **--dry-run:** If you want to run through an installation without actually
|
98
|
+
installing a package, you can use `--dry-run`. This will simulate the
|
99
|
+
installation and show you what would happen.
|
100
|
+
* **--dev:** Install packages listed in `require-dev` (this is the default behavior).
|
101
|
+
* **--no-dev:** Skip installing packages listed in `require-dev`. The autoloader
|
102
|
+
generation skips the `autoload-dev` rules.
|
103
|
+
* **--no-autoloader:** Skips autoloader generation.
|
104
|
+
* **--no-scripts:** Skips execution of scripts defined in `composer.json`.
|
105
|
+
* **--no-progress:** Removes the progress display that can mess with some
|
106
|
+
terminals or scripts which don't handle backspace characters.
|
107
|
+
* **--no-suggest:** Skips suggested packages in the output.
|
108
|
+
* **--optimize-autoloader (-o):** Convert PSR-0/4 autoloading to classmap to get a faster
|
109
|
+
autoloader. This is recommended especially for production, but can take
|
110
|
+
a bit of time to run so it is currently not done by default.
|
111
|
+
* **--classmap-authoritative (-a):** Autoload classes from the classmap only.
|
112
|
+
Implicitly enables `--optimize-autoloader`.
|
113
|
+
* **--apcu-autoloader:** Use APCu to cache found/not-found classes.
|
114
|
+
* **--ignore-platform-reqs:** ignore `php`, `hhvm`, `lib-*` and `ext-*`
|
115
|
+
requirements and force the installation even if the local machine does not
|
116
|
+
fulfill these. See also the [`platform`](06-config.md#platform) config option.
|
117
|
+
|
118
|
+
## update / u
|
119
|
+
|
120
|
+
In order to get the latest versions of the dependencies and to update the
|
121
|
+
`composer.lock` file, you should use the `update` command. This command is also
|
122
|
+
aliased as `upgrade` as it does the same as `upgrade` does if you are thinking
|
123
|
+
of `apt-get` or similar package managers.
|
124
|
+
|
125
|
+
```sh
|
126
|
+
php composer.phar update
|
127
|
+
```
|
128
|
+
|
129
|
+
This will resolve all dependencies of the project and write the exact versions
|
130
|
+
into `composer.lock`.
|
131
|
+
|
132
|
+
If you only want to update a few packages and not all, you can list them as such:
|
133
|
+
|
134
|
+
```sh
|
135
|
+
php composer.phar update vendor/package vendor/package2
|
136
|
+
```
|
137
|
+
|
138
|
+
You can also use wildcards to update a bunch of packages at once:
|
139
|
+
|
140
|
+
```sh
|
141
|
+
php composer.phar update "vendor/*"
|
142
|
+
```
|
143
|
+
|
144
|
+
### Options
|
145
|
+
|
146
|
+
* **--prefer-source:** Install packages from `source` when available.
|
147
|
+
* **--prefer-dist:** Install packages from `dist` when available.
|
148
|
+
* **--dry-run:** Simulate the command without actually doing anything.
|
149
|
+
* **--dev:** Install packages listed in `require-dev` (this is the default behavior).
|
150
|
+
* **--no-dev:** Skip installing packages listed in `require-dev`. The autoloader generation skips the `autoload-dev` rules.
|
151
|
+
* **--lock:** Only updates the lock file hash to suppress warning about the
|
152
|
+
lock file being out of date.
|
153
|
+
* **--no-autoloader:** Skips autoloader generation.
|
154
|
+
* **--no-scripts:** Skips execution of scripts defined in `composer.json`.
|
155
|
+
* **--no-progress:** Removes the progress display that can mess with some
|
156
|
+
terminals or scripts which don't handle backspace characters.
|
157
|
+
* **--no-suggest:** Skips suggested packages in the output.
|
158
|
+
* **--with-dependencies:** Add also dependencies of whitelisted packages to the whitelist, except those that are root requirements.
|
159
|
+
* **--with-all-dependencies:** Add also all dependencies of whitelisted packages to the whitelist, including those that are root requirements.
|
160
|
+
* **--optimize-autoloader (-o):** Convert PSR-0/4 autoloading to classmap to get a faster
|
161
|
+
autoloader. This is recommended especially for production, but can take
|
162
|
+
a bit of time to run so it is currently not done by default.
|
163
|
+
* **--classmap-authoritative (-a):** Autoload classes from the classmap only.
|
164
|
+
Implicitly enables `--optimize-autoloader`.
|
165
|
+
* **--apcu-autoloader:** Use APCu to cache found/not-found classes.
|
166
|
+
* **--ignore-platform-reqs:** ignore `php`, `hhvm`, `lib-*` and `ext-*`
|
167
|
+
requirements and force the installation even if the local machine does not
|
168
|
+
fulfill these. See also the [`platform`](06-config.md#platform) config option.
|
169
|
+
* **--prefer-stable:** Prefer stable versions of dependencies.
|
170
|
+
* **--prefer-lowest:** Prefer lowest versions of dependencies. Useful for testing minimal
|
171
|
+
versions of requirements, generally used with `--prefer-stable`.
|
172
|
+
* **--interactive:** Interactive interface with autocompletion to select the packages to update.
|
173
|
+
* **--root-reqs:** Restricts the update to your first degree dependencies.
|
174
|
+
|
175
|
+
## require
|
176
|
+
|
177
|
+
The `require` command adds new packages to the `composer.json` file from
|
178
|
+
the current directory. If no file exists one will be created on the fly.
|
179
|
+
|
180
|
+
```sh
|
181
|
+
php composer.phar require
|
182
|
+
```
|
183
|
+
|
184
|
+
After adding/changing the requirements, the modified requirements will be
|
185
|
+
installed or updated.
|
186
|
+
|
187
|
+
If you do not want to choose requirements interactively, you can pass them
|
188
|
+
to the command.
|
189
|
+
|
190
|
+
```sh
|
191
|
+
php composer.phar require vendor/package:2.* vendor/package2:dev-master
|
192
|
+
```
|
193
|
+
|
194
|
+
If you do not specify a package, composer will prompt you to search for a package, and given results, provide a list of matches to require.
|
195
|
+
|
196
|
+
### Options
|
197
|
+
|
198
|
+
* **--dev:** Add packages to `require-dev`.
|
199
|
+
* **--prefer-source:** Install packages from `source` when available.
|
200
|
+
* **--prefer-dist:** Install packages from `dist` when available.
|
201
|
+
* **--no-progress:** Removes the progress display that can mess with some
|
202
|
+
terminals or scripts which don't handle backspace characters.
|
203
|
+
* **--no-suggest:** Skips suggested packages in the output.
|
204
|
+
* **--no-update:** Disables the automatic update of the dependencies.
|
205
|
+
* **--no-scripts:** Skips execution of scripts defined in `composer.json`.
|
206
|
+
* **--update-no-dev:** Run the dependency update with the `--no-dev` option.
|
207
|
+
* **--update-with-dependencies:** Also update dependencies of the newly required packages, except those that are root requirements.
|
208
|
+
* **--update-with-all-dependencies:** Also update dependencies of the newly required packages, including those that are root requirements.
|
209
|
+
* **--ignore-platform-reqs:** ignore `php`, `hhvm`, `lib-*` and `ext-*`
|
210
|
+
requirements and force the installation even if the local machine does not
|
211
|
+
fulfill these. See also the [`platform`](06-config.md#platform) config option.
|
212
|
+
* **--prefer-stable:** Prefer stable versions of dependencies.
|
213
|
+
* **--prefer-lowest:** Prefer lowest versions of dependencies. Useful for testing minimal
|
214
|
+
versions of requirements, generally used with `--prefer-stable`.
|
215
|
+
* **--sort-packages:** Keep packages sorted in `composer.json`.
|
216
|
+
* **--optimize-autoloader (-o):** Convert PSR-0/4 autoloading to classmap to
|
217
|
+
get a faster autoloader. This is recommended especially for production, but
|
218
|
+
can take a bit of time to run so it is currently not done by default.
|
219
|
+
* **--classmap-authoritative (-a):** Autoload classes from the classmap only.
|
220
|
+
Implicitly enables `--optimize-autoloader`.
|
221
|
+
* **--apcu-autoloader:** Use APCu to cache found/not-found classes.
|
222
|
+
|
223
|
+
## remove
|
224
|
+
|
225
|
+
The `remove` command removes packages from the `composer.json` file from
|
226
|
+
the current directory.
|
227
|
+
|
228
|
+
```sh
|
229
|
+
php composer.phar remove vendor/package vendor/package2
|
230
|
+
```
|
231
|
+
|
232
|
+
After removing the requirements, the modified requirements will be
|
233
|
+
uninstalled.
|
234
|
+
|
235
|
+
### Options
|
236
|
+
* **--dev:** Remove packages from `require-dev`.
|
237
|
+
* **--no-progress:** Removes the progress display that can mess with some
|
238
|
+
terminals or scripts which don't handle backspace characters.
|
239
|
+
* **--no-update:** Disables the automatic update of the dependencies.
|
240
|
+
* **--no-scripts:** Skips execution of scripts defined in `composer.json`.
|
241
|
+
* **--update-no-dev:** Run the dependency update with the --no-dev option.
|
242
|
+
* **--update-with-dependencies:** Also update dependencies of the removed packages.
|
243
|
+
* **--ignore-platform-reqs:** ignore `php`, `hhvm`, `lib-*` and `ext-*`
|
244
|
+
requirements and force the installation even if the local machine does not
|
245
|
+
fulfill these. See also the [`platform`](06-config.md#platform) config option.
|
246
|
+
* **--optimize-autoloader (-o):** Convert PSR-0/4 autoloading to classmap to
|
247
|
+
get a faster autoloader. This is recommended especially for production, but
|
248
|
+
can take a bit of time to run so it is currently not done by default.
|
249
|
+
* **--classmap-authoritative (-a):** Autoload classes from the classmap only.
|
250
|
+
Implicitly enables `--optimize-autoloader`.
|
251
|
+
* **--apcu-autoloader:** Use APCu to cache found/not-found classes.
|
252
|
+
|
253
|
+
## check-platform-reqs
|
254
|
+
|
255
|
+
The check-platform-reqs command checks that your PHP and extensions versions
|
256
|
+
match the platform requirements of the installed packages. This can be used
|
257
|
+
to verify that a production server has all the extensions needed to run a
|
258
|
+
project after installing it for example.
|
259
|
+
|
260
|
+
## global
|
261
|
+
|
262
|
+
The global command allows you to run other commands like `install`, `remove`, `require`
|
263
|
+
or `update` as if you were running them from the [COMPOSER_HOME](#composer-home)
|
264
|
+
directory.
|
265
|
+
|
266
|
+
This is merely a helper to manage a project stored in a central location that
|
267
|
+
can hold CLI tools or Composer plugins that you want to have available everywhere.
|
268
|
+
|
269
|
+
This can be used to install CLI utilities globally. Here is an example:
|
270
|
+
|
271
|
+
```sh
|
272
|
+
php composer.phar global require friendsofphp/php-cs-fixer
|
273
|
+
```
|
274
|
+
|
275
|
+
Now the `php-cs-fixer` binary is available globally. Make sure your global
|
276
|
+
[vendor binaries](articles/vendor-binaries.md) directory is in your `$PATH`
|
277
|
+
environment variable, you can get its location with the following command :
|
278
|
+
|
279
|
+
```sh
|
280
|
+
php composer.phar global config bin-dir --absolute
|
281
|
+
```
|
282
|
+
|
283
|
+
If you wish to update the binary later on you can run a global update:
|
284
|
+
|
285
|
+
```sh
|
286
|
+
php composer.phar global update
|
287
|
+
```
|
288
|
+
|
289
|
+
## search
|
290
|
+
|
291
|
+
The search command allows you to search through the current project's package
|
292
|
+
repositories. Usually this will be packagist. You simply pass it the
|
293
|
+
terms you want to search for.
|
294
|
+
|
295
|
+
```sh
|
296
|
+
php composer.phar search monolog
|
297
|
+
```
|
298
|
+
|
299
|
+
You can also search for more than one term by passing multiple arguments.
|
300
|
+
|
301
|
+
### Options
|
302
|
+
|
303
|
+
* **--only-name (-N):** Search only in name.
|
304
|
+
* **--type (-t):** Search for a specific package type.
|
305
|
+
|
306
|
+
## show
|
307
|
+
|
308
|
+
To list all of the available packages, you can use the `show` command.
|
309
|
+
|
310
|
+
```sh
|
311
|
+
php composer.phar show
|
312
|
+
```
|
313
|
+
|
314
|
+
To filter the list you can pass a package mask using wildcards.
|
315
|
+
|
316
|
+
```sh
|
317
|
+
php composer.phar show monolog/*
|
318
|
+
|
319
|
+
monolog/monolog 1.19.0 Sends your logs to files, sockets, inboxes, databases and various web services
|
320
|
+
```
|
321
|
+
|
322
|
+
If you want to see the details of a certain package, you can pass the package
|
323
|
+
name.
|
324
|
+
|
325
|
+
```sh
|
326
|
+
php composer.phar show monolog/monolog
|
327
|
+
|
328
|
+
name : monolog/monolog
|
329
|
+
versions : master-dev, 1.0.2, 1.0.1, 1.0.0, 1.0.0-RC1
|
330
|
+
type : library
|
331
|
+
names : monolog/monolog
|
332
|
+
source : [git] https://github.com/Seldaek/monolog.git 3d4e60d0cbc4b888fe5ad223d77964428b1978da
|
333
|
+
dist : [zip] https://github.com/Seldaek/monolog/zipball/3d4e60d0cbc4b888fe5ad223d77964428b1978da 3d4e60d0cbc4b888fe5ad223d77964428b1978da
|
334
|
+
license : MIT
|
335
|
+
|
336
|
+
autoload
|
337
|
+
psr-0
|
338
|
+
Monolog : src/
|
339
|
+
|
340
|
+
requires
|
341
|
+
php >=5.3.0
|
342
|
+
```
|
343
|
+
|
344
|
+
You can even pass the package version, which will tell you the details of that
|
345
|
+
specific version.
|
346
|
+
|
347
|
+
```sh
|
348
|
+
php composer.phar show monolog/monolog 1.0.2
|
349
|
+
```
|
350
|
+
|
351
|
+
### Options
|
352
|
+
|
353
|
+
* **--all :** List all packages available in all your repositories.
|
354
|
+
* **--installed (-i):** List the packages that are installed (this is enabled by default, and deprecated).
|
355
|
+
* **--platform (-p):** List only platform packages (php & extensions).
|
356
|
+
* **--available (-a):** List available packages only.
|
357
|
+
* **--self (-s):** List the root package info.
|
358
|
+
* **--name-only (-N):** List package names only.
|
359
|
+
* **--path (-P):** List package paths.
|
360
|
+
* **--tree (-t):** List your dependencies as a tree. If you pass a package name it will show the dependency tree for that package.
|
361
|
+
* **--latest (-l):** List all installed packages including their latest version.
|
362
|
+
* **--outdated (-o):** Implies --latest, but this lists *only* packages that have a newer version available.
|
363
|
+
* **--minor-only (-m):** Use with --latest. Only shows packages that have minor SemVer-compatible updates.
|
364
|
+
* **--direct (-D):** Restricts the list of packages to your direct dependencies.
|
365
|
+
* **--strict:** Return a non-zero exit code when there are outdated packages.
|
366
|
+
* **--format (-f):** Lets you pick between text (default) or json output format.
|
367
|
+
|
368
|
+
## outdated
|
369
|
+
|
370
|
+
The `outdated` command shows a list of installed packages that have updates available,
|
371
|
+
including their current and latest versions. This is basically an alias for
|
372
|
+
`composer show -lo`.
|
373
|
+
|
374
|
+
The color coding is as such:
|
375
|
+
|
376
|
+
- **green (=)**: Dependency is in the latest version and is up to date.
|
377
|
+
- **yellow (~)**: Dependency has a new version available that includes backwards compatibility breaks according to semver, so upgrade when
|
378
|
+
you can but it may involve work.
|
379
|
+
- **red (!)**: Dependency has a new version that is semver-compatible and you should upgrade it.
|
380
|
+
|
381
|
+
### Options
|
382
|
+
|
383
|
+
* **--all (-a):** Show all packages, not just outdated (alias for `composer show -l`).
|
384
|
+
* **--direct (-D):** Restricts the list of packages to your direct dependencies.
|
385
|
+
* **--strict:** Returns non-zero exit code if any package is outdated.
|
386
|
+
* **--minor-only (-m):** Only shows packages that have minor SemVer-compatible updates.
|
387
|
+
* **--format (-f):** Lets you pick between text (default) or json output format.
|
388
|
+
|
389
|
+
## browse / home
|
390
|
+
|
391
|
+
The `browse` (aliased to `home`) opens a package's repository URL or homepage
|
392
|
+
in your browser.
|
393
|
+
|
394
|
+
### Options
|
395
|
+
|
396
|
+
* **--homepage (-H):** Open the homepage instead of the repository URL.
|
397
|
+
* **--show (-s):** Only show the homepage or repository URL.
|
398
|
+
|
399
|
+
## suggests
|
400
|
+
|
401
|
+
Lists all packages suggested by currently installed set of packages. You can
|
402
|
+
optionally pass one or multiple package names in the format of `vendor/package`
|
403
|
+
to limit output to suggestions made by those packages only.
|
404
|
+
|
405
|
+
Use the `--by-package` or `--by-suggestion` flags to group the output by
|
406
|
+
the package offering the suggestions or the suggested packages respectively.
|
407
|
+
|
408
|
+
Use the `--verbose (-v)` flag to display the suggesting package and the suggestion reason.
|
409
|
+
This implies `--by-package --by-suggestion`, showing both lists.
|
410
|
+
|
411
|
+
### Options
|
412
|
+
|
413
|
+
* **--by-package:** Groups output by suggesting package.
|
414
|
+
* **--by-suggestion:** Groups output by suggested package.
|
415
|
+
* **--no-dev:** Excludes suggestions from `require-dev` packages.
|
416
|
+
|
417
|
+
## depends (why)
|
418
|
+
|
419
|
+
The `depends` command tells you which other packages depend on a certain
|
420
|
+
package. As with installation `require-dev` relationships are only considered
|
421
|
+
for the root package.
|
422
|
+
|
423
|
+
```sh
|
424
|
+
php composer.phar depends doctrine/lexer
|
425
|
+
doctrine/annotations v1.2.7 requires doctrine/lexer (1.*)
|
426
|
+
doctrine/common v2.6.1 requires doctrine/lexer (1.*)
|
427
|
+
```
|
428
|
+
|
429
|
+
You can optionally specify a version constraint after the package to limit the
|
430
|
+
search.
|
431
|
+
|
432
|
+
Add the `--tree` or `-t` flag to show a recursive tree of why the package is
|
433
|
+
depended upon, for example:
|
434
|
+
|
435
|
+
```sh
|
436
|
+
php composer.phar depends psr/log -t
|
437
|
+
psr/log 1.0.0 Common interface for logging libraries
|
438
|
+
|- aboutyou/app-sdk 2.6.11 (requires psr/log 1.0.*)
|
439
|
+
| `- __root__ (requires aboutyou/app-sdk ^2.6)
|
440
|
+
|- monolog/monolog 1.17.2 (requires psr/log ~1.0)
|
441
|
+
| `- laravel/framework v5.2.16 (requires monolog/monolog ~1.11)
|
442
|
+
| `- __root__ (requires laravel/framework ^5.2)
|
443
|
+
`- symfony/symfony v3.0.2 (requires psr/log ~1.0)
|
444
|
+
`- __root__ (requires symfony/symfony ^3.0)
|
445
|
+
```
|
446
|
+
|
447
|
+
### Options
|
448
|
+
|
449
|
+
* **--recursive (-r):** Recursively resolves up to the root package.
|
450
|
+
* **--tree (-t):** Prints the results as a nested tree, implies -r.
|
451
|
+
|
452
|
+
## prohibits (why-not)
|
453
|
+
|
454
|
+
The `prohibits` command tells you which packages are blocking a given package
|
455
|
+
from being installed. Specify a version constraint to verify whether upgrades
|
456
|
+
can be performed in your project, and if not why not. See the following
|
457
|
+
example:
|
458
|
+
|
459
|
+
```sh
|
460
|
+
php composer.phar prohibits symfony/symfony 3.1
|
461
|
+
laravel/framework v5.2.16 requires symfony/var-dumper (2.8.*|3.0.*)
|
462
|
+
```
|
463
|
+
|
464
|
+
Note that you can also specify platform requirements, for example to check
|
465
|
+
whether you can upgrade your server to PHP 8.0:
|
466
|
+
|
467
|
+
```sh
|
468
|
+
php composer.phar prohibits php:8
|
469
|
+
doctrine/cache v1.6.0 requires php (~5.5|~7.0)
|
470
|
+
doctrine/common v2.6.1 requires php (~5.5|~7.0)
|
471
|
+
doctrine/instantiator 1.0.5 requires php (>=5.3,<8.0-DEV)
|
472
|
+
```
|
473
|
+
|
474
|
+
As with `depends` you can request a recursive lookup, which will list all
|
475
|
+
packages depending on the packages that cause the conflict.
|
476
|
+
|
477
|
+
### Options
|
478
|
+
|
479
|
+
* **--recursive (-r):** Recursively resolves up to the root package.
|
480
|
+
* **--tree (-t):** Prints the results as a nested tree, implies -r.
|
481
|
+
|
482
|
+
## validate
|
483
|
+
|
484
|
+
You should always run the `validate` command before you commit your
|
485
|
+
`composer.json` file, and before you tag a release. It will check if your
|
486
|
+
`composer.json` is valid.
|
487
|
+
|
488
|
+
```sh
|
489
|
+
php composer.phar validate
|
490
|
+
```
|
491
|
+
|
492
|
+
### Options
|
493
|
+
|
494
|
+
* **--no-check-all:** Do not emit a warning if requirements in `composer.json` use unbound or overly strict version constraints.
|
495
|
+
* **--no-check-lock:** Do not emit an error if `composer.lock` exists and is not up to date.
|
496
|
+
* **--no-check-publish:** Do not emit an error if `composer.json` is unsuitable for publishing as a package on Packagist but is otherwise valid.
|
497
|
+
* **--with-dependencies:** Also validate the composer.json of all installed dependencies.
|
498
|
+
* **--strict:** Return a non-zero exit code for warnings as well as errors.
|
499
|
+
|
500
|
+
## status
|
501
|
+
|
502
|
+
If you often need to modify the code of your dependencies and they are
|
503
|
+
installed from source, the `status` command allows you to check if you have
|
504
|
+
local changes in any of them.
|
505
|
+
|
506
|
+
```sh
|
507
|
+
php composer.phar status
|
508
|
+
```
|
509
|
+
|
510
|
+
With the `--verbose` option you get some more information about what was
|
511
|
+
changed:
|
512
|
+
|
513
|
+
```sh
|
514
|
+
php composer.phar status -v
|
515
|
+
|
516
|
+
You have changes in the following dependencies:
|
517
|
+
vendor/seld/jsonlint:
|
518
|
+
M README.mdown
|
519
|
+
```
|
520
|
+
|
521
|
+
## self-update (selfupdate)
|
522
|
+
|
523
|
+
To update Composer itself to the latest version, run the `self-update`
|
524
|
+
command. It will replace your `composer.phar` with the latest version.
|
525
|
+
|
526
|
+
```sh
|
527
|
+
php composer.phar self-update
|
528
|
+
```
|
529
|
+
|
530
|
+
If you would like to instead update to a specific release simply specify it:
|
531
|
+
|
532
|
+
```sh
|
533
|
+
php composer.phar self-update 1.0.0-alpha7
|
534
|
+
```
|
535
|
+
|
536
|
+
If you have installed Composer for your entire system (see [global installation](00-intro.md#globally)),
|
537
|
+
you may have to run the command with `root` privileges
|
538
|
+
|
539
|
+
```sh
|
540
|
+
sudo -H composer self-update
|
541
|
+
```
|
542
|
+
|
543
|
+
### Options
|
544
|
+
|
545
|
+
* **--rollback (-r):** Rollback to the last version you had installed.
|
546
|
+
* **--clean-backups:** Delete old backups during an update. This makes the
|
547
|
+
current version of Composer the only backup available after the update.
|
548
|
+
* **--no-progress:** Do not output download progress.
|
549
|
+
* **--update-keys:** Prompt user for a key update.
|
550
|
+
* **--stable:** Force an update to the stable channel.
|
551
|
+
* **--preview:** Force an update to the preview channel.
|
552
|
+
* **--snapshot:** Force an update to the snapshot channel.
|
553
|
+
|
554
|
+
## config
|
555
|
+
|
556
|
+
The `config` command allows you to edit composer config settings and repositories
|
557
|
+
in either the local `composer.json` file or the global `config.json` file.
|
558
|
+
|
559
|
+
Additionally it lets you edit most properties in the local `composer.json`.
|
560
|
+
|
561
|
+
```sh
|
562
|
+
php composer.phar config --list
|
563
|
+
```
|
564
|
+
|
565
|
+
### Usage
|
566
|
+
|
567
|
+
`config [options] [setting-key] [setting-value1] ... [setting-valueN]`
|
568
|
+
|
569
|
+
`setting-key` is a configuration option name and `setting-value1` is a
|
570
|
+
configuration value. For settings that can take an array of values (like
|
571
|
+
`github-protocols`), more than one setting-value arguments are allowed.
|
572
|
+
|
573
|
+
You can also edit the values of the following properties:
|
574
|
+
|
575
|
+
`description`, `homepage`, `keywords`, `license`, `minimum-stability`,
|
576
|
+
`name`, `prefer-stable`, `type` and `version`.
|
577
|
+
|
578
|
+
See the [Config](06-config.md) chapter for valid configuration options.
|
579
|
+
|
580
|
+
### Options
|
581
|
+
|
582
|
+
* **--global (-g):** Operate on the global config file located at
|
583
|
+
`$COMPOSER_HOME/config.json` by default. Without this option, this command
|
584
|
+
affects the local composer.json file or a file specified by `--file`.
|
585
|
+
* **--editor (-e):** Open the local composer.json file using in a text editor as
|
586
|
+
defined by the `EDITOR` env variable. With the `--global` option, this opens
|
587
|
+
the global config file.
|
588
|
+
* **--auth (-a):** Affect auth config file (only used for --editor).
|
589
|
+
* **--unset:** Remove the configuration element named by `setting-key`.
|
590
|
+
* **--list (-l):** Show the list of current config variables. With the `--global`
|
591
|
+
option this lists the global configuration only.
|
592
|
+
* **--file="..." (-f):** Operate on a specific file instead of composer.json. Note
|
593
|
+
that this cannot be used in conjunction with the `--global` option.
|
594
|
+
* **--absolute:** Returns absolute paths when fetching *-dir config values
|
595
|
+
instead of relative.
|
596
|
+
|
597
|
+
### Modifying Repositories
|
598
|
+
|
599
|
+
In addition to modifying the config section, the `config` command also supports making
|
600
|
+
changes to the repositories section by using it the following way:
|
601
|
+
|
602
|
+
```sh
|
603
|
+
php composer.phar config repositories.foo vcs https://github.com/foo/bar
|
604
|
+
```
|
605
|
+
|
606
|
+
If your repository requires more configuration options, you can instead pass its JSON representation :
|
607
|
+
|
608
|
+
```sh
|
609
|
+
php composer.phar config repositories.foo '{"type": "vcs", "url": "http://svn.example.org/my-project/", "trunk-path": "master"}'
|
610
|
+
```
|
611
|
+
|
612
|
+
### Modifying Extra Values
|
613
|
+
|
614
|
+
In addition to modifying the config section, the `config` command also supports making
|
615
|
+
changes to the extra section by using it the following way:
|
616
|
+
|
617
|
+
```sh
|
618
|
+
php composer.phar config extra.foo.bar value
|
619
|
+
```
|
620
|
+
|
621
|
+
The dots indicate array nesting, a max depth of 3 levels is allowed though. The above
|
622
|
+
would set `"extra": { "foo": { "bar": "value" } }`.
|
623
|
+
|
624
|
+
## create-project
|
625
|
+
|
626
|
+
You can use Composer to create new projects from an existing package. This is
|
627
|
+
the equivalent of doing a git clone/svn checkout followed by a `composer install`
|
628
|
+
of the vendors.
|
629
|
+
|
630
|
+
There are several applications for this:
|
631
|
+
|
632
|
+
1. You can deploy application packages.
|
633
|
+
2. You can check out any package and start developing on patches for example.
|
634
|
+
3. Projects with multiple developers can use this feature to bootstrap the
|
635
|
+
initial application for development.
|
636
|
+
|
637
|
+
To create a new project using Composer you can use the `create-project` command.
|
638
|
+
Pass it a package name, and the directory to create the project in. You can also
|
639
|
+
provide a version as third argument, otherwise the latest version is used.
|
640
|
+
|
641
|
+
If the directory does not currently exist, it will be created during installation.
|
642
|
+
|
643
|
+
```sh
|
644
|
+
php composer.phar create-project doctrine/orm path 2.2.*
|
645
|
+
```
|
646
|
+
|
647
|
+
It is also possible to run the command without params in a directory with an
|
648
|
+
existing `composer.json` file to bootstrap a project.
|
649
|
+
|
650
|
+
By default the command checks for the packages on packagist.org.
|
651
|
+
|
652
|
+
### Options
|
653
|
+
|
654
|
+
* **--stability (-s):** Minimum stability of package. Defaults to `stable`.
|
655
|
+
* **--prefer-source:** Install packages from `source` when available.
|
656
|
+
* **--prefer-dist:** Install packages from `dist` when available.
|
657
|
+
* **--repository:** Provide a custom repository to search for the package,
|
658
|
+
which will be used instead of packagist. Can be either an HTTP URL pointing
|
659
|
+
to a `composer` repository, a path to a local `packages.json` file, or a
|
660
|
+
JSON string which similar to what the [repositories](04-schema.md#repositories)
|
661
|
+
key accepts.
|
662
|
+
* **--dev:** Install packages listed in `require-dev`.
|
663
|
+
* **--no-dev:** Disables installation of require-dev packages.
|
664
|
+
* **--no-scripts:** Disables the execution of the scripts defined in the root
|
665
|
+
package.
|
666
|
+
* **--no-progress:** Removes the progress display that can mess with some
|
667
|
+
terminals or scripts which don't handle backspace characters.
|
668
|
+
* **--no-secure-http:** Disable the secure-http config option temporarily while
|
669
|
+
installing the root package. Use at your own risk. Using this flag is a bad
|
670
|
+
idea.
|
671
|
+
* **--keep-vcs:** Skip the deletion of the VCS metadata for the created
|
672
|
+
project. This is mostly useful if you run the command in non-interactive
|
673
|
+
mode.
|
674
|
+
* **--remove-vcs:** Force-remove the VCS metadata without prompting.
|
675
|
+
* **--no-install:** Disables installation of the vendors.
|
676
|
+
* **--ignore-platform-reqs:** ignore `php`, `hhvm`, `lib-*` and `ext-*`
|
677
|
+
requirements and force the installation even if the local machine does not
|
678
|
+
fulfill these.
|
679
|
+
|
680
|
+
## dump-autoload (dumpautoload)
|
681
|
+
|
682
|
+
If you need to update the autoloader because of new classes in a classmap
|
683
|
+
package for example, you can use `dump-autoload` to do that without having to
|
684
|
+
go through an install or update.
|
685
|
+
|
686
|
+
Additionally, it can dump an optimized autoloader that converts PSR-0/4 packages
|
687
|
+
into classmap ones for performance reasons. In large applications with many
|
688
|
+
classes, the autoloader can take up a substantial portion of every request's
|
689
|
+
time. Using classmaps for everything is less convenient in development, but
|
690
|
+
using this option you can still use PSR-0/4 for convenience and classmaps for
|
691
|
+
performance.
|
692
|
+
|
693
|
+
### Options
|
694
|
+
* **--no-scripts:** Skips the execution of all scripts defined in `composer.json` file.
|
695
|
+
* **--optimize (-o):** Convert PSR-0/4 autoloading to classmap to get a faster
|
696
|
+
autoloader. This is recommended especially for production, but can take
|
697
|
+
a bit of time to run so it is currently not done by default.
|
698
|
+
* **--classmap-authoritative (-a):** Autoload classes from the classmap only.
|
699
|
+
Implicitly enables `--optimize`.
|
700
|
+
* **--apcu:** Use APCu to cache found/not-found classes.
|
701
|
+
* **--no-dev:** Disables autoload-dev rules.
|
702
|
+
|
703
|
+
## clear-cache (clearcache)
|
704
|
+
|
705
|
+
Deletes all content from Composer's cache directories.
|
706
|
+
|
707
|
+
## licenses
|
708
|
+
|
709
|
+
Lists the name, version and license of every package installed. Use
|
710
|
+
`--format=json` to get machine readable output.
|
711
|
+
|
712
|
+
### Options
|
713
|
+
|
714
|
+
* **--format:** Format of the output: text or json (default: "text")
|
715
|
+
* **--no-dev:** Remove dev dependencies from the output
|
716
|
+
|
717
|
+
## run-script
|
718
|
+
|
719
|
+
### Options
|
720
|
+
|
721
|
+
* **--timeout:** Set the script timeout in seconds, or 0 for no timeout.
|
722
|
+
* **--dev:** Sets the dev mode.
|
723
|
+
* **--no-dev:** Disable dev mode.
|
724
|
+
* **--list (-l):** List user defined scripts.
|
725
|
+
|
726
|
+
To run [scripts](articles/scripts.md) manually you can use this command,
|
727
|
+
give it the script name and optionally any required arguments.
|
728
|
+
|
729
|
+
## exec
|
730
|
+
|
731
|
+
Executes a vendored binary/script. You can execute any command and this will
|
732
|
+
ensure that the Composer bin-dir is pushed on your PATH before the command
|
733
|
+
runs.
|
734
|
+
|
735
|
+
### Options
|
736
|
+
|
737
|
+
* **--list (-l):** List the available composer binaries.
|
738
|
+
|
739
|
+
## diagnose
|
740
|
+
|
741
|
+
If you think you found a bug, or something is behaving strangely, you might
|
742
|
+
want to run the `diagnose` command to perform automated checks for many common
|
743
|
+
problems.
|
744
|
+
|
745
|
+
```sh
|
746
|
+
php composer.phar diagnose
|
747
|
+
```
|
748
|
+
|
749
|
+
## archive
|
750
|
+
|
751
|
+
This command is used to generate a zip/tar archive for a given package in a
|
752
|
+
given version. It can also be used to archive your entire project without
|
753
|
+
excluded/ignored files.
|
754
|
+
|
755
|
+
```sh
|
756
|
+
php composer.phar archive vendor/package 2.0.21 --format=zip
|
757
|
+
```
|
758
|
+
|
759
|
+
### Options
|
760
|
+
|
761
|
+
* **--format (-f):** Format of the resulting archive: tar or zip (default:
|
762
|
+
"tar")
|
763
|
+
* **--dir:** Write the archive to this directory (default: ".")
|
764
|
+
* **--file:** Write the archive with the given file name.
|
765
|
+
|
766
|
+
## help
|
767
|
+
|
768
|
+
To get more information about a certain command, you can use `help`.
|
769
|
+
|
770
|
+
```sh
|
771
|
+
php composer.phar help install
|
772
|
+
```
|
773
|
+
|
774
|
+
## Command-line completion
|
775
|
+
|
776
|
+
Command-line completion can be enabled by following instructions
|
777
|
+
[on this page](https://github.com/bamarni/symfony-console-autocomplete).
|
778
|
+
|
779
|
+
## Environment variables
|
780
|
+
|
781
|
+
You can set a number of environment variables that override certain settings.
|
782
|
+
Whenever possible it is recommended to specify these settings in the `config`
|
783
|
+
section of `composer.json` instead. It is worth noting that the env vars will
|
784
|
+
always take precedence over the values specified in `composer.json`.
|
785
|
+
|
786
|
+
### COMPOSER
|
787
|
+
|
788
|
+
By setting the `COMPOSER` env variable it is possible to set the filename of
|
789
|
+
`composer.json` to something else.
|
790
|
+
|
791
|
+
For example:
|
792
|
+
|
793
|
+
```sh
|
794
|
+
COMPOSER=composer-other.json php composer.phar install
|
795
|
+
```
|
796
|
+
|
797
|
+
The generated lock file will use the same name: `composer-other.lock` in this example.
|
798
|
+
|
799
|
+
### COMPOSER_ROOT_VERSION
|
800
|
+
|
801
|
+
By setting this var you can specify the version of the root package, if it can
|
802
|
+
not be guessed from VCS info and is not present in `composer.json`.
|
803
|
+
|
804
|
+
### COMPOSER_VENDOR_DIR
|
805
|
+
|
806
|
+
By setting this var you can make Composer install the dependencies into a
|
807
|
+
directory other than `vendor`.
|
808
|
+
|
809
|
+
### COMPOSER_BIN_DIR
|
810
|
+
|
811
|
+
By setting this option you can change the `bin` ([Vendor Binaries](articles/vendor-binaries.md))
|
812
|
+
directory to something other than `vendor/bin`.
|
813
|
+
|
814
|
+
### http_proxy or HTTP_PROXY
|
815
|
+
|
816
|
+
If you are using Composer from behind an HTTP proxy, you can use the standard
|
817
|
+
`http_proxy` or `HTTP_PROXY` env vars. Simply set it to the URL of your proxy.
|
818
|
+
Many operating systems already set this variable for you.
|
819
|
+
|
820
|
+
Using `http_proxy` (lowercased) or even defining both might be preferable since
|
821
|
+
some tools like git or curl will only use the lower-cased `http_proxy` version.
|
822
|
+
Alternatively you can also define the git proxy using
|
823
|
+
`git config --global http.proxy <proxy url>`.
|
824
|
+
|
825
|
+
If you are using Composer in a non-CLI context (i.e. integration into a CMS or
|
826
|
+
similar use case), and need to support proxies, please provide the `CGI_HTTP_PROXY`
|
827
|
+
environment variable instead. See [httpoxy.org](https://httpoxy.org/) for further
|
828
|
+
details.
|
829
|
+
|
830
|
+
### no_proxy or NO_PROXY
|
831
|
+
|
832
|
+
If you are behind a proxy and would like to disable it for certain domains, you
|
833
|
+
can use the `no_proxy` or `NO_PROXY` env var. Simply set it to a comma separated list of
|
834
|
+
domains the proxy should *not* be used for.
|
835
|
+
|
836
|
+
The env var accepts domains, IP addresses, and IP address blocks in CIDR
|
837
|
+
notation. You can restrict the filter to a particular port (e.g. `:80`). You
|
838
|
+
can also set it to `*` to ignore the proxy for all HTTP requests.
|
839
|
+
|
840
|
+
### HTTP_PROXY_REQUEST_FULLURI
|
841
|
+
|
842
|
+
If you use a proxy but it does not support the request_fulluri flag, then you
|
843
|
+
should set this env var to `false` or `0` to prevent Composer from setting the
|
844
|
+
request_fulluri option.
|
845
|
+
|
846
|
+
### HTTPS_PROXY_REQUEST_FULLURI
|
847
|
+
|
848
|
+
If you use a proxy but it does not support the request_fulluri flag for HTTPS
|
849
|
+
requests, then you should set this env var to `false` or `0` to prevent Composer
|
850
|
+
from setting the request_fulluri option.
|
851
|
+
|
852
|
+
### COMPOSER_HOME
|
853
|
+
|
854
|
+
The `COMPOSER_HOME` var allows you to change the Composer home directory. This
|
855
|
+
is a hidden, global (per-user on the machine) directory that is shared between
|
856
|
+
all projects.
|
857
|
+
|
858
|
+
By default it points to `C:\Users\<user>\AppData\Roaming\Composer` on Windows
|
859
|
+
and `/Users/<user>/.composer` on macOS. On \*nix systems that follow the [XDG Base
|
860
|
+
Directory Specifications](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html),
|
861
|
+
it points to `$XDG_CONFIG_HOME/composer`. On other \*nix systems, it points to
|
862
|
+
`/home/<user>/.composer`.
|
863
|
+
|
864
|
+
#### COMPOSER_HOME/config.json
|
865
|
+
|
866
|
+
You may put a `config.json` file into the location which `COMPOSER_HOME` points
|
867
|
+
to. Composer will merge this configuration with your project's `composer.json`
|
868
|
+
when you run the `install` and `update` commands.
|
869
|
+
|
870
|
+
This file allows you to set [repositories](05-repositories.md) and
|
871
|
+
[configuration](06-config.md) for the user's projects.
|
872
|
+
|
873
|
+
In case global configuration matches _local_ configuration, the _local_
|
874
|
+
configuration in the project's `composer.json` always wins.
|
875
|
+
|
876
|
+
### COMPOSER_CACHE_DIR
|
877
|
+
|
878
|
+
The `COMPOSER_CACHE_DIR` var allows you to change the Composer cache directory,
|
879
|
+
which is also configurable via the [`cache-dir`](06-config.md#cache-dir) option.
|
880
|
+
|
881
|
+
By default it points to `$COMPOSER_HOME/cache` on \*nix and macOS, and
|
882
|
+
`C:\Users\<user>\AppData\Local\Composer` (or `%LOCALAPPDATA%/Composer`) on Windows.
|
883
|
+
|
884
|
+
### COMPOSER_PROCESS_TIMEOUT
|
885
|
+
|
886
|
+
This env var controls the time Composer waits for commands (such as git
|
887
|
+
commands) to finish executing. The default value is 300 seconds (5 minutes).
|
888
|
+
|
889
|
+
### COMPOSER_CAFILE
|
890
|
+
|
891
|
+
By setting this environmental value, you can set a path to a certificate bundle
|
892
|
+
file to be used during SSL/TLS peer verification.
|
893
|
+
|
894
|
+
### COMPOSER_AUTH
|
895
|
+
|
896
|
+
The `COMPOSER_AUTH` var allows you to set up authentication as an environment variable.
|
897
|
+
The contents of the variable should be a JSON formatted object containing http-basic,
|
898
|
+
github-oauth, bitbucket-oauth, ... objects as needed, and following the
|
899
|
+
[spec from the config](06-config.md#gitlab-oauth).
|
900
|
+
|
901
|
+
### COMPOSER_DISCARD_CHANGES
|
902
|
+
|
903
|
+
This env var controls the [`discard-changes`](06-config.md#discard-changes) config option.
|
904
|
+
|
905
|
+
### COMPOSER_NO_INTERACTION
|
906
|
+
|
907
|
+
If set to 1, this env var will make Composer behave as if you passed the
|
908
|
+
`--no-interaction` flag to every command. This can be set on build boxes/CI.
|
909
|
+
|
910
|
+
### COMPOSER_ALLOW_SUPERUSER
|
911
|
+
|
912
|
+
If set to 1, this env disables the warning about running commands as root/super user.
|
913
|
+
It also disables automatic clearing of sudo sessions, so you should really only set this
|
914
|
+
if you use Composer as super user at all times like in docker containers.
|
915
|
+
|
916
|
+
### COMPOSER_MEMORY_LIMIT
|
917
|
+
|
918
|
+
If set, the value is used as php's memory_limit.
|
919
|
+
|
920
|
+
### COMPOSER_MIRROR_PATH_REPOS
|
921
|
+
|
922
|
+
If set to 1, this env changes the default path repository strategy to `mirror` instead
|
923
|
+
of `symlink`. As it is the default strategy being set it can still be overwritten by
|
924
|
+
repository options.
|
925
|
+
|
926
|
+
### COMPOSER_HTACCESS_PROTECT
|
927
|
+
|
928
|
+
Defaults to `1`. If set to `0`, Composer will not create `.htaccess` files in the
|
929
|
+
composer home, cache, and data directories.
|
930
|
+
|
931
|
+
← [Libraries](02-libraries.md) | [Schema](04-schema.md) →
|