Validating The Package Definition File

Next, you should check the package definition file (package.xml) for validity. This is done by running the command: pear package-validate package.xml. Fix the errors and warnings, if any, and proceed to the next step.

Note: For help with writing the package definition file see the package definition file description.