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

Fractured Realities:
PHP's Answer to .jar
Jun 14, 2004 @ 12:41:25

In a quick note from Fractured Realities, Davey Shafik as created a possible implementation of a .jar-type file for the PHP world.

Today I whipped up a little script, which allows PHP developers to create a .phar file. A single self contained file for your entire application. This means you just distribute the one file instead of a ton of files.

What is a .phar file? Well, its a file extension I made up on the spot, to describe a PHP Archive. A specially formatted valid TAR file. A .phar file can consist of as many PHP files you like - hell it could contain ANY file, it is a stream after all.

For more information on the progress of this package, head on over and check out it's PEAR page as it goes through the approval process...

tagged:

Link:


Trending Topics: