Login | Packages | Support | Bugs 

Top Level :: PHP

phar

Package Information
Summary allows running of complete applications out of .phar files (like Java .jar files)
Maintainers Steph Fox (developer) [details]
Greg Beaver (lead) [wishlist] [details]
Marcus Börger <helly@php.net> (lead) [wishlist] [details]
License PHP License
Description This is the extension version of PEAR's PHP_Archive package. Support for
zlib, bz2 and crc32 is achieved without any dependency other than the external
zlib or bz2 extension.

.phar files can be read using the phar stream, or with the Phar class. If the SPL extension
is available, a Phar object can be used as an array to iterate over a phar's contents
or to read files directly from the phar.

Phar supports tar and zip file formats as well as the native phar file format, and can also be
used to create data-only tar and zip archives with the PharData class, even if
write access is disabled by the phar.readonly ini variable.

Executable phar archives can be created using the streams API or with the Phar class, if
the phar.readonly ini variable is set to false.

Full support for MD5 and SHA1 signatures is possible. Signatures can be required
if the ini variable phar.require_hash is set to true. When PECL extension hash is
available then SHA-256 and SHA-512 signatures are supported as well.

Phar is APC-compatible, the latest APC will cache files within a phar archive, resulting in
a 6x speedup measured running phpMyAdmin as a phar archive.

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source[ Package Bugs ]
[ Report new bug ]

Available Releases
Version State Release Date Downloads  
2.0.0 stable 2009-07-29 phar-2.0.0.tgz (440.3kB) [Changelog]
2.0.0RC2 beta 2009-06-04 phar-2.0.0RC2.tgz (426.7kB) [Changelog]
2.0.0RC1 beta 2008-08-31 phar-2.0.0RC1.tgz (312.0kB) [Changelog]
2.0.0b1 beta 2008-05-12 phar-2.0.0b1.tgz (265.0kB) [Changelog]
2.0.0a2 alpha 2008-03-27 phar-2.0.0a2.tgz (204.1kB) [Changelog]
2.0.0a1 alpha 2008-03-26 phar-2.0.0a1.tgz (204.0kB) [Changelog]
1.2.3 stable 2007-11-23 phar-1.2.3.tgz (85.4kB) [Changelog]
1.2.2 stable 2007-10-03 phar-1.2.2.tgz (93.3kB) [Changelog]
1.2.1 stable 2007-08-29 phar-1.2.1.tgz (92.7kB) [Changelog]
1.2.0 stable 2007-05-18 phar-1.2.0.tgz (65.9kB) [Changelog]
1.1.0 stable 2007-04-12 phar-1.1.0.tgz (53.6kB) [Changelog]
1.0.1 stable 2007-03-28 phar-1.0.1.tgz (49.4kB) [Changelog]
1.0.0 stable 2007-03-28 phar-1.0.0.tgz (49.3kB) [Changelog]


Dependencies
Release 2.0.0: PHP Version: PHP 5.2.1 or newer
PEAR Package: PEAR 1.4.3 or newer
PECL Package: bz2
PECL Package: hash
PHP Extension: spl
PHP Extension: zlib
Release 2.0.0RC2: PHP Version: PHP 5.2.1 or newer
PEAR Package: PEAR 1.4.3 or newer
PECL Package: bz2
PECL Package: hash
PHP Extension: spl
PHP Extension: zlib
Release 2.0.0RC1: PHP Version: PHP 5.2.1 or newer
PEAR Package: PEAR 1.4.3 or newer
PECL Package: bz2
PECL Package: hash
PHP Extension: spl
PHP Extension: zlib
Dependencies for older releases can be found on the release overview page.
PRIVACY POLICY | CREDITS
Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 08:05:03 2013 UTC
Bandwidth and hardware provided by: pair Networks