Example:
```xml
-<requiredpackage minversion="2.0.0" file="requirements/com.woltlab.wcf.tar">com.woltlab.wcf</requiredpackage>
+<requiredpackage minversion="2.7.5" file="requirements/com.example.foo.tar">com.example.foo</requiredpackage>
```
The attribute `minversion` must be a valid version number as described in [`<version>`](#version).
Example:
```xml
-<optionalpackage file="optionals/com.woltlab.wcf.moderatedUserGroup.tar">com.woltlab.wcf.moderatedUserGroup</optionalpackage>
+<optionalpackage file="optionals/com.example.bar.tar">com.example.bar</optionalpackage>
```
The `file` attribute specifies the location of the optional package's archive relative to the `package.xml`.
Example:
```xml
-<excludedpackage version="3.1.0 Alpha 1">com.woltlab.wcf</excludedpackage>
+<excludedpackage version="6.0.0 Alpha 1">com.woltlab.wcf</excludedpackage>
```
-The attribute `version` must be a valid version number as described in the [\<version\>](#version) section. In the example above it will be impossible to install this package in WoltLab Suite Core 3.1.0 Alpha 1 or higher.
+The attribute `version` must be a valid version number as described in the [\<version\>](#version) section. In the example above it will be impossible to install this package in WoltLab Suite Core 6.0.0 Alpha 1 or higher.
### `<compatibility>`
!!! info "Available since WoltLab Suite 3.1"
<packagename>Simple Package</packagename>
<packagedescription>A simple package to demonstrate the package system of WoltLab Suite Core</packagedescription>
<version>1.0.0</version>
- <date>2016-12-18</date>
+ <date>2022-01-17</date>
</packageinformation>
<authorinformation>
</authorinformation>
<requiredpackages>
- <requiredpackage minversion="3.0.0">com.woltlab.wcf</requiredpackage>
+ <requiredpackage minversion="5.4.10">com.woltlab.wcf</requiredpackage>
</requiredpackages>
<excludedpackages>
<instruction type="file" />
<instruction type="template">templates.tar</instruction>
</instructions>
-</package>
\ No newline at end of file
+</package>
<packagename>Example App</packagename>
<packagedescription>A very basic example of an app.</packagedescription>
<isapplication>1</isapplication>
- <version>3.1.0</version>
- <date>2018-03-29</date>
+ <version>5.4.0</version>
+ <date>2022-01-17</date>
</packageinformation>
<authorinformation>
</authorinformation>
<requiredpackages>
- <requiredpackage minversion="3.1.0">com.woltlab.wcf</requiredpackage>
+ <requiredpackage minversion="5.4.10">com.woltlab.wcf</requiredpackage>
</requiredpackages>
- <compatibility>
- <api version="2018" />
- </compatibility>
+ <excludedpackages>
+ <excludedpackage version="6.0.0 Alpha 1">com.woltlab.wcf</excludedpackage>
+ </excludedpackages>
<instructions type="install">
<instruction type="file" />