12.8. Dependencies
An important benefit of using PEAR is code reuse. However, when you re-use code from a package system, there will be dependencies between packages. These dependencies need to be expressed in the package description to inform users about them.
12.8.1. Element: <deps>
Element name: | deps |
Attributes: | none |
May occur in: | release (optional) |
This element is a container for the <dep> element.
12.8.2. Element: <dep>
Element name: | dep |
Attributes: | name (required)
type (required) rel (optional) |
May occur in: | deps (required) |
The dep element describes a single dependency.
12.8.2.1. name Attribute
This is the target of the dependency. For pkg dependencies, the name attribute contains the package name; for ext dependencies, it contains the extension ...
Get PHP 5 Power Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.