PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

What makes a phar a phar and not a tar or a zip?> <Using Phar Archives: the Phar and PharData class
Last updated: Fri, 21 Nov 2008

view this page in

Creating Phar Archives

Creating Phar Archives: Introduction

To be written fully in the near future. Before reading this, be sure to read How to use Phar Archives.

A great place to start is by reading about Phar::buildFromIterator(), and the specifics of the file format choices available for archives. A healthy understanding of what a stub is and does is crucial to phar archive creation, and so Phar::setStub() and Phar::createDefaultStub() are good places to start as well. If you are distributing a web-based application, it is crucial to know about Phar::webPhar() and related method Phar::mungServer(). Any application that accesses its own files should also consider using Phar::interceptFileFuncs().



add a note add a note User Contributed Notes
Creating Phar Archives
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites