Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Basic example fails: "The "composer.json" directory does not exist." #137

Open
MichalKrakow opened this issue Aug 29, 2018 · 1 comment
Open

Comments

@MichalKrakow
Copy link

Laravel version 5.5.42
Zipper::make('test.zip')->folder('test')->add('composer.json');

InvalidArgumentException
The "composer.json" directory does not exist.
@deepak-netwin
Copy link

$files = glob(public_path('js/*'));
 \Zipper::make(public_path('test.zip'))->add($files)->close();
 return response()->download(public_path('test.zip'));

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants