Skip to content

📦 Installer 方法参考

本节列出该模块的全部方法参考页,每个方法一页,含签名、参数、返回值、示例与进阶说明。

方法文档
🔒 CanUseSudocan-use-sudo
🔖 CheckComposerVersioncheck-composer-version
🐧 DetectLinuxDistrodetect-linux-distro
🎯 EnsureComposerInstalledensure-composer-installed
🧩 GetArchNameget-arch-name
🔖 GetInstalledVersionget-installed-version
🔖 GetPHPVersionget-php-version
🖥️ GetPlatformNameget-platform-name
🖥️ GetSystemInfoget-system-info
🐘 HasPHPhas-php
⬇️ InstallComposerVersioninstall-composer-version
📦 InstallComposerViaPackageManagerinstall-composer-via-package-manager
📦 Installinstall
🐧 InstallPHPinstall-php
🎯 InstallVersioninstall-version
⚡ InstallWithProgressinstall-with-progress
🔍 IsComposerInstalledis-composer-installed
✅ IsInstalledis-installed
🗑️ Uninstalluninstall

基于 MIT 许可证发布