Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full example #141

Open
klausveliu opened this issue Dec 12, 2017 · 0 comments
Open

Full example #141

klausveliu opened this issue Dec 12, 2017 · 0 comments

Comments

@klausveliu
Copy link

I am trying to use this plugin, but with no success.
After searching in google it looks that is very difficult to find a working example.

In my case I am coding in custom php, no frameworks, no composer etc.

Tried this code, but it does not work
require_once(APP_PLUGINS_PATH . 'Zippy/Zippy.php');
use Alchemy\Zippy;
$zippy = Zippy::load();
$archiveZip = $zippy->create('archive.zip');
$archiveZip->addMembers(array(
'../files/tmp/test.png'
),
$recursive = false
);

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

No branches or pull requests

1 participant