11 Documentsecurity

11:16:44 Create new Spreadsheet object
11:16:44 Set document properties
11:16:44 Add some data
11:16:44 Rename worksheet
11:16:44 Set document security
11:16:44 Set sheet security

Fatal error: Uncaught Error: Class "ZipArchive" not found in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php:212 Stack trace: #0 /var/www/erp/spreadsheet/src/PhpSpreadsheet/Helper/Sample.php(100): PhpOffice\PhpSpreadsheet\Writer\Xlsx->save() #1 /var/www/erp/spreadsheet/samples/11_Documentsecurity.php(46): PhpOffice\PhpSpreadsheet\Helper\Sample->write() #2 {main} thrown in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php on line 212