Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nadimtuhin/archiver
php Zip Archiver with password
https://github.com/nadimtuhin/archiver
Last synced: 25 days ago
JSON representation
php Zip Archiver with password
- Host: GitHub
- URL: https://github.com/nadimtuhin/archiver
- Owner: nadimtuhin
- Created: 2015-04-11T02:33:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-17T12:10:23.000Z (about 9 years ago)
- Last Synced: 2024-06-13T22:37:47.998Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 141 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Zip Archiver
## Install
install using composer
```json
{
"require": {
"nadimtuhin/archiver": "0.1.*@dev"
}
}
```## How to use
```php
$process = new Symfony\Component\Process\Process();
$zipper = new NadimTuhin\Archiver\ZipArchiver($process);
$zipper->setInputFilename("myfile.txt");
$zipper->setPassword("1234");
$zipper->archive();
```