Compress or uncompress files and directories in a Phar file

phar

phar compress -f {{path/to/phar_file}} -c {{algorithm}}

click the source code to copy install phar on any operating system with command-not-found.com