mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
42 lines
784 B
Plaintext
42 lines
784 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# phive
|
|
|
|
> The Phar Installation and Verification Environment for secure PHP application deployment.
|
|
> More information: <https://phar.io>.
|
|
|
|
- Display a list of available aliased Phars:
|
|
|
|
`phive list`
|
|
|
|
- Install a specified Phar to the local directory:
|
|
|
|
`phive install {{alias|url}}`
|
|
|
|
- Install a specified Phar globally:
|
|
|
|
`phive install {{alias|url}} --global`
|
|
|
|
- Install a specified Phar to a target directory:
|
|
|
|
`phive install {{alias|url}} --target {{path/to/directory}}`
|
|
|
|
- Update all Phar files to the latest version:
|
|
|
|
`phive update`
|
|
|
|
- Remove a specified Phar file:
|
|
|
|
`phive remove {{alias|url}}`
|
|
|
|
- Remove unused Phar files:
|
|
|
|
`phive purge`
|
|
|
|
- List all available commands:
|
|
|
|
`phive help`
|