CmdID

CmdID / Commands

phar

Create, update, or extract PHP archives (PHAR). tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Add one or more files or directories to a Phar file

phar add -f path/to/phar_file path/to/file_or_directory1 path/to/file_or_directory2 ...Identify

Display the contents of a Phar file

phar list -f path/to/phar_fileIdentify

Delete the specified file or directory from a Phar file

phar delete -f path/to/phar_file -e file_or_directoryIdentify

Compress or uncompress files and directories in a Phar file

phar compress -f path/to/phar_file -c algorithmIdentify

Get information about a Phar file

phar info -f path/to/phar_fileIdentify

Sign a Phar file with a specific hash algorithm

phar sign -f path/to/phar_file -h algorithmIdentify

Sign a Phar file with an OpenSSL private key

phar sign -f path/to/phar_file -h openssl -y path/to/private_keyIdentify

Display help and available hashing/compression algorithms

phar helpIdentify