Creating Phar Archives
Phar file stub
Phar
PHP Manual

# What makes a phar a phar and not a tar or a zip?

## Spis treści

- Phar file stub
- Head-to-head comparison of Phar, Tar and Zip
- Tar-based phars
- Zip-based phars
- Phar File Format
- Global Phar bitmapped flags
- Phar manifest file entry definition
- Phar Signature format

## Ingredients of all Phar archives, independent of file format

All Phar archives contain three to four sections:

1. a stub

2. a manifest describing the contents

3. the file contents

4. [optional] a signature for verifying Phar integrity (phar file format only)

Creating Phar Archives
Phar file stub
Phar
PHP Manual