In the last chapter we learned a great deal about the internals of package.xml
. In this chapter, we are stepping up the intensity a notch, and exploring the exciting new features that enable us to easily distribute PHP applications and manage their installation and post-installation customization.
If you've ever wanted to make it easy to customize an installation of your PHP application across multiple platforms, PHP versions, and user setups, then this is the chapter for you.
The title of this section says it all. package.xml 2.0
is a major improvement over package.xml 1.0
. The implementations of several important new features in the PEAR installer such as custom file roles/tasks, enterprise-level dependencies, and channels are reflected by new tags in package.xml 2.0
. In addition, the structure is designed to be easily validated using other tools.