10:14:23 Create new PHPExcel object
10:14:23 Set document properties
10:14:23 Add some data
10:14:23 Rename worksheet
10:14:23 Set document security
10:14:23 Set sheet security
10:14:23 Write to Excel2007 format

Fatal error: Uncaught Error: Class 'ZipArchive' not found in /home/www/html/aginmk/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php:227 Stack trace: #0 /home/www/html/aginmk/vendor/phpoffice/phpexcel/Examples/11documentsecurity.php(94): PHPExcel_Writer_Excel2007->save('/home/www/html/...') #1 {main} thrown in /home/www/html/aginmk/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 227