๐ ๏ธ Composer CLI Methods Reference โ
This section lists all method reference pages for this module, one page per method, covering signature, parameters, return values, examples, and advanced notes.
| Method | Documentation |
|---|---|
๐๏ธ AddAutoload | add-autoload |
๐ชช AddBearerToken | add-bearer-token |
๐ AddComposerRepository | add-composer-repository |
๐ AddGitHubToken | add-github-token |
๐ AddGitLabToken | add-gitlab-token |
๐ AddHTTPBasicAuth | add-http-basic-auth |
๐ฅ AddPackagistRepository | add-packagist-repository |
๐ AddPathRepository | add-path-repository |
โ AddRequire | add-require |
๐งฉ AddScript | add-script |
๐ง AddVcsRepository | add-vcs-repository |
๐๏ธ Archive | archive |
๐ฆ ArchivePackage | archive-package |
๐๏ธ ArchiveProject | archive-project |
๐ฆ AuditLock | audit-lock |
๐ Audit | audit |
๐ AuditWithFormat | audit-with-format |
๐งฉ AuditWithJSON | audit-with-json |
๐ AuditWithoutDev | audit-without-dev |
๐๏ธ BatchRemove | batch-remove |
๐ฆ BatchRequire | batch-require |
๐ BrowsePackage | browse-package |
๐๏ธ BuildSatis | build-satis |
๐ BumpPackages | bump-packages |
๐ CheckForOutdatedPackages | check-for-outdated-packages |
๐ก๏ธ CheckForSecurityVulnerabilities | check-for-security-vulnerabilities |
๐ CheckLicenses Check dependency license compatibility | check-licenses |
โ
Check | check |
๐ฅ๏ธ CheckPlatform | check-platform |
๐ฅ๏ธ CheckPlatformReqs Check platform requirements | check-platform-reqs |
๐ CheckPlatformReqsStructured | check-platform-reqs-structured |
๐ CheckPlatformWithLock | check-platform-with-lock |
๐ฏ CheckStructured | check-structured |
๐งน ClearCache | clear-cache |
๐ CreateProject | create-project |
๐ฆ CreateSatisConfig | create-satis-config |
โ๏ธ DefaultOptions | default-options |
๐ฉบ Diagnose | diagnose |
๐ฌ DiagnoseStructured | diagnose-structured |
๐คซ DisableInteraction | disable-interaction |
๐งฉ DumpAutoload | dump-autoload |
๐ ๏ธ DumpAutoloadWithOptions | dump-autoload-with-options |
๐ค EnableSuperuser | enable-superuser |
๐ง EnsureInstalled | ensure-installed |
๐ ExecAll | exec-all |
โ๏ธ Exec | exec |
๐ ExecPHP | exec-php |
๐ฏ ExecuteScript | execute-script |
๐ ExecWithList | exec-with-list |
๐ฆ ExtractPackageNamesFromOutput | extract-package-names-from-output |
๐ฏ ExtractVersionFromOutput | extract-version-from-output |
๐งฎ FormatVersionConstraint | format-version-constraint |
๐ฐ Fund | fund |
๐ FundWithJSON | fund-with-json |
โ ๏ธ GetAbandonedPackagesFromLock | get-abandoned-packages-from-lock |
๐ซ GetAbandonedPackages | get-abandoned-packages |
๐ GetAuditInfo | get-audit-info |
๐ GetAuthConfig | get-auth-config |
๐พ GetCacheDir | get-cache-dir |
๐ GetComposerHome | get-composer-home |
๐ GetConfigStructured | get-config-structured |
๐ง GetConfigWithGlobal | get-config-with-global |
๐ฏ GetDirectDependencyNames | get-direct-dependency-names |
๐งญ GetEnvironmentInfo | get-environment-info |
๐ GetEnvVariable | get-env-variable |
๐งฉ GetExtensions | get-extensions |
๐ GetFundingURLs | get-funding-urls |
๐จ GetHighSeverityVulnerabilities | get-high-severity-vulnerabilities |
๐ GetInstalledPackageNames | get-installed-package-names |
๐งพ GetLicensesInfo | get-licenses-info |
๐บ๏ธ GetNamespaceMap | get-namespace-map |
โฌ๏ธ GetOutdatedInfo | get-outdated-info |
๐ GetPHPVersion | get-php-version |
๐ GetProjectDependencies | get-project-dependencies |
๐ฆ GetProjectInfo | get-project-info |
๐๏ธ GetProjectSummary | get-project-summary |
๐ GetRequireWithVersion | get-require-with-version |
โจ๏ธ GetScripts | get-scripts |
๐ GetVendorDir | get-vendor-dir |
๐ GetVersionInfo | get-version-info |
๐ข GetVersion | get-version |
๐ฆ GlobalInstall | global-install |
๐ GlobalList | global-list |
๐๏ธ GlobalRemove | global-remove |
๐ GlobalRequire | global-require |
๐ GlobalUpdate | global-update |
๐ HasComposerLock | has-composer-lock |
๐ HasExtension | has-extension |
โ
HasFunding | has-funding |
๐ HasVendorDir | has-vendor-dir |
โ ๏ธ HasVulnerabilities | has-vulnerabilities |
๐ฅ HealthCheck | health-check |
๐๏ธ InitProject | init-project |
๐ InitSatis | init-satis |
๐ InstallDryRun | install-dry-run |
๐ฆ Install | install |
๐ซ InstallNoScripts | install-no-scripts |
โก InstallWithAPCu Install dependencies with APCu autoload cache enabled | install-with-apcu |
๐ ๏ธ InstallWithOptions | install-with-options |
๐ฅ InstallWithPreferDist | install-with-prefer-dist |
๐ฅ InstallWithPreferSource | install-with-prefer-source |
โ
IsInstalled | is-installed |
๐งฉ IsPackageDev | is-package-dev |
โ
IsPackageInstalled | is-package-installed |
โ
IsPlatformAvailable | is-platform-available |
๐ฆ IsProject | is-project |
๐ Licenses | licenses |
๐ LicensesWithFormat | licenses-with-format |
๐ ListConfig | list-config |
๐ ListRepositories | list-repositories |
๐ ListScripts | list-scripts |
โ๏ธ LocalExec | local-exec |
๐ LockPackageVersion | lock-package-version |
๐ New | new |
๐ NormalizeComposerJson | normalize-composer-json |
๐ฆ OutdatedPackagesDirect Show only outdated packages in direct dependencies | outdated-packages-direct |
โฌ๏ธ OutdatedPackages | outdated-packages |
โ
ParseCheckOutput | parse-check-output |
๐ ParseComposerAuditJSON | parse-composer-audit-json |
๐ ParseComposerOutdatedJSON | parse-composer-outdated-json |
๐ ParseComposerShowJSON | parse-composer-show-json |
๐ณ ParseDependencyTreeJSON | parse-dependency-tree-json |
๐ฉบ ParseDiagnoseOutput | parse-diagnose-output |
๐ฆ ParseInstallOutput | parse-install-output |
๐ ParseStatusOutput | parse-status-output |
๐ ParseUpdateOutput | parse-update-output |
๐ท๏ธ ParseVersionOutput | parse-version-output |
๐ซ Prohibit | prohibit |
๐ QuickSetup | quick-setup |
๐ ReadComposerJSON | read-composer-json |
โป๏ธ Reinstall | reinstall |
๐งช RemoveDryRun Simulate removing a package | remove-dry-run |
โ Remove | remove |
โ RemoveMultiple | remove-multiple |
๐๏ธ RemoveRepository | remove-repository |
๐๏ธ RemoveRequire | remove-require |
๐งน RemoveScript | remove-script |
๐งน RemoveToken | remove-token |
๐งช RequireDryRun Simulate adding a package dependency | require-dry-run |
โ RequireMultiple | require-multiple |
โ RequirePackage | require-package |
๐ฆ RequirePackageWithOptions Add a package dependency with custom options | require-package-with-options |
๐ ๏ธ Run | run |
โก RunScript | run-script |
๐ RunWithContext | run-with-context |
โฑ๏ธ RunWithTimeout | run-with-timeout |
๐พ SaveAuthConfig | save-auth-config |
๐ SearchInfo | search-info |
๐ Search | search |
๐ SearchOnlyName | search-only-name |
๐ท๏ธ SearchWithType | search-with-type |
๐ SelfUpdate | self-update |
โ๏ธ SetConfigWithGlobal | set-config-with-global |
๐ SetEnvVariable | set-env-variable |
๐พ SetMemoryLimit | set-memory-limit |
๐ SetMinimumStability | set-minimum-stability |
๐ฏ SetPreferredInstall | set-preferred-install |
โ
SetPreferStable | set-prefer-stable |
โฑ๏ธ SetProcessTimeout | set-process-timeout |
๐ง SetProperty | set-property |
๐ง SetWorkingDir | set-working-dir |
๐ฆ ShowAllPackages | show-all-packages |
๐ณ ShowDependencyTree | show-dependency-tree |
โจ ShowPackageInfo | show-package-info |
๐ ShowPackage | show-package |
๐ ShowReverseDependencies | show-reverse-dependencies |
๐ Status | status |
๐ StatusStructured | status-structured |
๐ก Suggests | suggests |
๐ UpdateDryRun | update-dry-run |
โก Update | update |
๐ UpdatePackageVersion | update-package-version |
๐ UpdateWithDependencies | update-with-dependencies |
๐ UpdateWithLock | update-with-lock |
๐ ๏ธ UpdateWithOptions | update-with-options |
๐งช ValidateComposerJson | validate-composer-json |
๐ ValidateComposerLock | validate-composer-lock |
โ
Validate | validate |
๐ ValidateSchema | validate-schema |
โ
ValidateStrict | validate-strict |
๐งช ValidateStructured | validate-structured |
๐ซ WhyNotPackage | why-not-package |
โ WhyPackage | why-package |
โ๏ธ WriteComposerJSON | write-composer-json |