PHP code example of gh640 / sjis-zip

1. Go to this page and download the library: Download gh640/sjis-zip library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

gh640 / sjis-zip example snippets



use gh640\SjisZip\Extractor;

$extractor = Extractor::create('src.zip');

// List items.
$items = $extractor->items();

// Extract the file.
$extractor->extract('path/to/dest');