1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 18:15:24 +02:00
tldr/pages/common/phive.md

37 lines
716 B
Markdown
Raw Normal View History

2018-02-03 10:32:08 +00:00
# phive
> The Phar Installation and Verification Environment for secure PHP application deployment.
> More information: <https://phar.io/#Usage>.
2018-02-03 10:32:08 +00:00
- 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}} {{[-g|--global]}}`
2018-02-03 10:32:08 +00:00
- Install a specified Phar to a target directory:
`phive install {{alias|url}} {{[-t|--target]}} {{path/to/directory}}`
2018-02-03 10:32:08 +00:00
- 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`