PHPackages                             lywzx/php-epub - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. lywzx/php-epub

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

lywzx/php-epub
==============

php epub parser

v0.1.2(6y ago)2414.7k↑100%16[1 issues](https://github.com/lywzx/php-epub/issues)MITPHPPHP &gt;=7.0.0

Since Apr 10Pushed 6y ago7 watchersCompare

[ Source](https://github.com/lywzx/php-epub)[ Packagist](https://packagist.org/packages/lywzx/php-epub)[ Docs](https://www.lyblog.net)[ RSS](/packages/lywzx-php-epub/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (14)Used By (0)

php-epub parser and maker
=========================

[](#php-epub-parser-and-maker)

About php-epub library
----------------------

[](#about-php-epub-library)

php-epub is a php library, for epub reader and maker. We can use it to read the ebook file and extract to cdn domain.

Installition
------------

[](#installition)

### With Composer

[](#with-composer)

> ```
> composer require lywzx/php-epub
>
> ```

> ```
> {
>    "require": {
>        "lywzx/php-epub": "^0.0.2"
>    }
> }
>
> ```

> ```
> require 'vendor/autoload.php'
>
> use lywzx\php-epub\EpubParser;
>
> $epubParser = new EpubParser('./alice.epub');
>
> ```

### Without Composer

[](#without-composer)

Why are you not using composer? Download the php-epub [latest release](https://github.com/lywzx/php-epub/releases) and put the contents of the ZIP archive into a directory in your project. Then require the file `autoload.php` to get all classes and dependencies loaded on need.

> ```
>
