<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Creating Phar Archives: Introduction</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="phar.creating.html">Creating Phar Archives</a></div> <div class="next" style="text-align: right; float: right;"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></div> <div class="up"><a href="phar.creating.html">Creating Phar Archives</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="phar.creating.intro" class="section"> <h2 class="title">Creating Phar Archives: Introduction</h2> <p class="para"> To be written fully in the near future. Before reading this, be sure to read <a href="phar.using.html" class="link">How to use Phar Archives</a>. </p> <p class="para"> A great place to start is by reading about <span class="function"><a href="phar.buildfromiterator.html" class="function">Phar::buildFromIterator()</a></span>, and the specifics of the <a href="phar.fileformat.html" class="link">file format</a> choices available for archives. A healthy understanding of what a stub is and does is crucial to phar archive creation, and so <span class="function"><a href="phar.setstub.html" class="function">Phar::setStub()</a></span> and <span class="function"><a href="phar.createdefaultstub.html" class="function">Phar::createDefaultStub()</a></span> are good places to start as well. If you are distributing a web-based application, it is crucial to know about <span class="function"><a href="phar.webphar.html" class="function">Phar::webPhar()</a></span> and related method <span class="function"><a href="phar.mungserver.html" class="function">Phar::mungServer()</a></span>. Any application that accesses its own files should also consider using <span class="function"><a href="phar.interceptfilefuncs.html" class="function">Phar::interceptFileFuncs()</a></span>. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="phar.creating.html">Creating Phar Archives</a></div> <div class="next" style="text-align: right; float: right;"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></div> <div class="up"><a href="phar.creating.html">Creating Phar Archives</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>