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