Skip to content

zakirovir6/epub-zip-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epub_library

This repository Contains epubs' archive for testing and tools for iterating through archive

installation via composer.json

"require": {
        "zakirovir6/epub_library": "dev-master"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/zakirovir6/epub_library.git"
        }
    ],

The generator is constructed with params:

$zipFilename - this is full archive name with path. This may be empty, in this case the archive from resource/E.zip will be used
$zipPass - this is archive password
$extractionFolder - temporary folder where archive will be being extracted

example

<?php

require __DIR__ . '/vendor/autoload.php';

$generator = new \Epub\Generator(__DIR__ . '/resource/E.zip');

$total = $generator->getTotal();

foreach ($generator->getEpubsInArchive() as $epubFilename) {
    //
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages