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

search for in the

What makes a phar a phar and not a tar or a zip?> <Creating Phar Archives
[edit] Last updated: Fri, 14 Jun 2013

view this page in

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: Introduction - [1 notes]
up
0
jw
2 years ago
There is some more information about stubs here:

http://www.php.net/manual/en/phar.fileformat.stub.php

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