PHAR(1) User Commands PHAR(1) (NAME) phar, phar.phar - PHAR ( PHP) (SYNOPSIS) phar [options] ... (DESCRIPTION) PHAR PHP <> ( PHP) . phar PHP . : add compress delete extract help help-list info list meta-del meta-get meta-set pack sign stub-get stub-set tree version add (add command) PHAR. : -f file phar (file) . ... . -i . -x . : -a alias (alias) phar . -c algo (: COMPRESSION ) -i regex . -l level . -x regex . compress (compress command) . : -c algo (: COMPRESSION ) -f file phar (file) . : -e entry (entry) ( PHAR ). delete (delete command) PHAR. : -e entry (entry) ( PHAR ). -f file phar (file) . extract (extract command) PHAR . : -f file phar (file) . : -i regex . -x regex . ... ( '.' ). help (help command) . : ... ..SH " help-list (help-list command)" . info (info command) PHAR. -k . : -f file phar (file) . : -k index (index) . list (list command) PHAR. : -f file phar (file) . : -i regex (regular expression) . -x regex . meta-del (meta-del command) PHAR. -k (array) . 0 1 . : -f file phar (file) . : -e entry (entry) ( PHAR ). -k index (index) . meta-get (meta-get command) PHAR (serialized). stdout . -k echo . 1 . : -f file phar (file) . : -e entry (entry) ( PHAR ). -k index (index) . meta-set (meta-set command) PHAR . stdin . -k . . (flat value) 1 . -k . : -f file phar (file) . -m meta ( php). : -e entry (entry) ( PHAR ). -k index (index) ..SH " pack (pack command)" PHAR. -s stub / . PEAR PHP_Archive -p PHP/Archive.php . : -f file phar (file) . ... . -i . -x . : -a alias (alias) phar. -b bang hash-bang ( #!/usr/bin/php). <<#!>> . -c algo ( COMPRESSION ) -h hash (hash) ( HASH ) -i regex . -l level . -p loader PHP_Archive ( pear list-files PHP_Archive). <<0>> <<1>> pear . <<0>> . stub PHP_Archive phar:// . phar.inc Phar . -s stub stub. -x regex . -y key (key) OpenSSL. sign (sign command) . : -f file phar (file) . -h hash (hash) ( HASH ) : -y key (key) OpenSSL. stub-get (stub-get command) stub PHAR. stub stdout . : -f file phar (file) . : -s stub stub. stub-set (stub-set command) stub PHAR. stub stdin . : -f file phar (file) . : -b bang hash-bang ( #!/usr/bin/php). <<#!>> . -p loader PHP_Archive ( pear list-files PHP_Archive). <<0>> <<1>> pear . <<0>> . stub PHP_Archive phar:// . phar.inc Phar . -s stub stub..SH " tree (tree command)" PHAR. : -f file file phar . : -i regex . -x regex . version (version command) PHAR . (COMPRESSION) : 0 none auto gz GZip gzip GZip bz2 BZip2 bzip2 BZip2 (HASH) : md5 MD5 sha1 SHA1 sha256 SHA256 sha512 SHA512 openssl OpenSSL SHA-1 openssl_sha256 OpenSSL SHA-256 openssl_sha512 OpenSSL SHA-512 (SEE ALSO) PHAR : http://php.net/phar (BUGS) : https://github.com/php/php-src/issues (AUTHORS) The PHP Group: Thies C. Arntzen, Stig Bakken, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski. PHP Gregory Beaver Marcus Boerger . : http://www.php.net/credits.php PHP . (VERSION INFORMATION) phar 8.3.33 . (COPYRIGHT) (C) The PHP Group 3.01 PHP LICENSE : https://www.php.net/license/3_01.txt PHP license@php.net . The PHP Group 2024 PHAR(1)