12 CellProtection

00:47:50 Create new Spreadsheet object
00:47:50 Set document properties
00:47:50 Add some data
00:47:50 Rename worksheet
00:47:50 Set cell protection
00:47:50 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