The Phar extension provides the phar stream, which allows accessing files contained within a phar transparently. See also the description of the Phar file format.
phar