HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

phive — The Phar Installation and Verification Environment for secure PHP application deployment. More infor

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandverificationpharandinstallationphivecli

Problem

How to use the phive command: The Phar Installation and Verification Environment for secure PHP application deployment. More information: <https://phar.io/#Usage>.

Solution

phive — The Phar Installation and Verification Environment for secure PHP application deployment. More information: <https://phar.io/#Usage>.

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]}}


Install a specified Phar to a target directory:
phive install {{alias|url}} {{[-t|--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

Code Snippets

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]}}

Install a specified Phar to a target directory

phive install {{alias|url}} {{[-t|--target]}} {{path/to/directory}}

Update all Phar files to the latest version

phive update

Context

tldr-pages: common/phive

Revisions (0)

No revisions yet.