12 CellProtection

11:30:06 Create new Spreadsheet object
11:30:06 Set document properties
11:30:06 Add some data
11:30:06 Rename worksheet
11:30:06 Set cell protection
11:30:06 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/12_CellProtection.php(44): PhpOffice\PhpSpreadsheet\Helper\Sample->write() #2 {main} thrown in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php on line 212