PHAR (file format)
File format / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about PHAR (file format)?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
In software, a PHAR (PHP Archive) file is a package format to enable distribution of applications and libraries by bundling many PHP code files and other resources (e.g. images, stylesheets, etc.) into a single archive file.
Quick Facts Filename extension, Developed by ...
Filename extension |
.phar |
---|---|
Developed by | PHP, Davey Shafik, Greg Beaver, Marcus Börger |
Type of format | File archive, data compression |
Extended from | ZIP, tar |
Close
PHAR files may be in one of three formats: tar, and ZIP, which are compatible with their respective tooling, and a custom PHAR format. Regardless of the format used, all PHAR files use the .phar
file extension. Tar and Zip format archives may be created and unpacked using standard tar and zip utilities, while the PHAR format requires custom PHP code using the PHAR extension for PHP, or the PEAR PHP_Archive package.