ziparchive class not found in laravel

Share Me
  •  
  •  
  •  
  • 1
  •  
  •  
  •  
  •  
  •  
  •  
  •  
    1
    Share

Today in this article I will show you how to ziparchive class not found in laravel. If you have error class ‘ziparchive’ not found in any laravel application then I hope i will help you to solve this problem ziparchive class error. So if you are using ubuntu 16.04 or ubuntu 18.04 then you need to install php zip extension.

The fetal error is ziparchive not found,class ‘ziparchive’ not found, or excel ziparchive not found, or excel class ‘ziparchive’ is not found.

On this error occurs if we do not install Zip archive.

So In this solution i will show to you how to solve this error as bellow.

Solution for PHP 7.3:

sudo apt-get install php7.3-zip

Read Also : Laravel 8 Mobile Number Verification Tutorial

Solution for PHP 7.2:

sudo apt-get install php7.2-zip

Solution for PHP 7.1:

sudo apt-get install php7.1-zip

Solution for PHP 7.0:

sudo apt-get install php7.0-zip

Read Also : PHP Laravel File Upload with Progress Bar Example

Thanks for read. I hope it help you. For more you can follow us on facebook

About code chef

My name is Shahriar sagor. I'm a developer. I live in Bangladesh and I love to write tutorials and tips that will help to other Developer's. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.

View all posts by code chef →