HP Fatal error: Uncaught Error: Class 'ZipArchive' not found in 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).