Class 'ZipArchive' not found in laravel code example
Example: ziparchive laravel not found
For the ZipArchive class to be present, PHP needs to have the zip extension installed.
See this page for installation instructions (both Linux and Windows).