News Feed
Sections




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

Benjamin Eberlei's Blog:
Trying a Two Step PEAR/PHAR approach to develop and deploy
December 21, 2009 @ 14:55:12

Benjamin Eberlei has a new post today about a deployment technique he's trying out - using PEAR and PHAR to create deployable packages.

With PHP 5.3 the PHAR extension is a pretty powerful concept for all your deployment needs, however it does not tell the complete story. [...] With Pirum being a simple PEAR channel server there is also momentum for projects to distribute their code via PEAR. However PEAR is mostly used in the server-wide configuration use-case, which is not very useful if you plan to distribute your complete application in one PHAR file.

He shows how to create a sample package from a Zend Framework application, set it up in a PEAR channel complete with the ability to run a "pear upgrade" to get the latest version of the package. He also includes a bit of sample code to work with the PHAR archive and load the libraries inside.

0 comments voice your opinion now!
pear phar deploy develop tutorial


blog comments powered by Disqus

Similar Posts

DevShed: Building a Data Validation System with the Prototype Pattern with PHP 5

Community News: Latest PEAR Releases for 05.21.2007

RosSoft Blog: Tutorial - Web based search engine for Flickr

Lorenzo Alberton's Blog: PEAR::Pager - Navigation with Pager and AJAX (or simple Javascript)

DevBuilder: Building XML Web Services with PHP NuSOAP


Community Events





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


podcast laravel introduction unittest interview testing opinion list developer install release code experience language wordpress community series refactor framework threedevsandamaybe

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