News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Greg Beaver's Blog:
Introducing pecl extension phar
February 07, 2007 @ 08:25:00

On his blog today, Greg Beaver has introduced a new pecl extension to add the phar functionality into any PHP installation as easily as adding any other pecl functionality.

After 14 months and nearly 200 commits, Marcus Borger and I have finished the first release of the phar extension in PECL. Phar provides both a stream wrapper (phar://) and a Phar class which can be used to access the contents of a phar archive. What is a phar archive? Think of it as a virtual filesystem that is customized for use with PHP, sort of like a Java .jar archive. Incidentally, the phar extension is a C implementation of the principles behind the PHP_Archive PEAR package.

A beginners guide to installation and usage is included, showing how to configure your installation and create two simple packages - one with a simple "Hello world" PHP script inside and the other grabbing the entire contents of a directory (and subdirectories) and pushing them in.

0 comments voice your opinion now!
phar pecl extension phparchive pear package guide install configure phar pecl extension phparchive pear package guide install configure


blog comments powered by Disqus

Similar Posts

Greg Beaver\'s Blog: PHP_Archive 0.7.0 is released

Amir Saied's Blog: PEAR XML_XUL at International PHP Magazine

Dan Scott's Blog: Super-alpha MARC package for PHP: comments requested

Geshan Manandhar: Getting started with PHP (LEMP) on Vagrant, the easiest way

Christoph Dorn's Blog: FirePHP 0.2 Released


Community Events

Don't see your event here?
Let us know!


api release community voicesoftheelephpant podcast version example opinion laravel testing introduction extension library series application performance php7 interview symfony2 framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework