Zipper
Zipper copied to clipboard
Error 503 Backend fetched error
$foldername=$request->input('project_name'); $zipper = new \Chumper\Zipper\Zipper; if(!file_exists($foldername)){ mkdir($foldername); $zipper->make('cashflow.zip')->extractTo($foldername); }else{ return back()->with('error',$request->input('project_name').' project is already created!!'); }
Above is my code in laravel project. I have tried to extract the zip file to another folder but it keeps showing error
I am really exhausted with the error.