Download the PHP package paragonie/pharaoh without Composer
On this page you can find all versions of the php package paragonie/pharaoh. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package pharaoh
Pharaoh - PHAR diff utility
Notice: Box has a diff utility that does what Pharaoh set out to do, and is more widely supported and adopted. We are deprecating Pharaoh in favor of
box diff
.
Display the differences between all of the files in two PHP Archives.
In all likelihood, two PHP Archives will not be byte-for-byte compatible,
so sha256sum
will not yield the same result, even if they were both built
from the same source code and contain the same contents. This is because
Composer randomizes e.g. their autoloader class names.
Copyright (c) 2015 - 2018 Paragon Initiative Enterprises. Check out our other open source projects too.
Example
To verify two PHP Archives were built from the same source code, first download the official distribution and then build a Phar from source.
Basic Usage
To see what differs between the two files, run this command:
Sample output:
GNU diffs (-d
)
By default, Pharaoh will use git
to generate a diff of the code. If you'd prefer
a GNU diff, pass the -d
flag, like so:
Sample output:
File hashes (-c
, --check
)
If you're more interested in verifying the authenticity of a Pharaoh's contents from
a quick scan, you can use the -c algo
or --check=algo
arguments to specify the hash
function to use.
Sample output:
All hash functions supported by PHP are accepted here. Additionally, if you specify blake2b
,
Pharaoh will use sodium_compat to generate a BLAKE2b
hash of each file.
All versions of pharaoh with dependencies
paragonie/constant_time_encoding Version ^2|^3
paragonie/sodium_compat Version ^1.3
ulrichsg/getopt-php Version ^3