1 Instructions to import ZipStream into Moodle:
3 1/ Download from https://github.com/maennchen/ZipStream-PHP/releases/
5 2/ Copy the LICENSE file and the src folder into the lib/zipstream folder
7 3/ Ensure any dependencies are also imported (eg psr/http-message and myclabs/php-enum).
8 The dependencies will be listed in the "require" section of the library's composer.json file
11 * 2023/03/03 - Version 3.0.0 of the ZipStream library uses "readonly", "enum" and "First-class Callable Syntax"
12 properties that are only supported by PHP 8.1 and above.
13 As Moodle 4.2 only requires PHP 8.0 version 2.4.0 (released 9/12/2022) has been used instead.
14 When Moodle requires PHP 8.1 version 3.0.0 can be used.