Installs the files within the package file specified.
public install ( string | PEAR_Downloader_Package $pkgfile, array $options = [] ) : array | PEAR_Error | ||
$pkgfile | string | PEAR_Downloader_Package | path to the package file, or a pre-initialized packagefile object |
$options | array | recognized options: - installroot : optional prefix directory for installation - force : force installation - register-only : update registry but don't install files - upgrade : upgrade existing install - soft : fail silently - nodeps : ignore dependency conflicts/missing dependencies - alldeps : install all dependencies - onlyreqdeps : install only required dependencies |
return | array | PEAR_Error | package info if successful |