PHPackages                             pubconnect/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. pubconnect/php-epub

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

pubconnect/php-epub
===================

php epub parser

1.3(1y ago)010MITPHPPHP &gt;=7.0.0

Since Jul 16Pushed 1y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)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.

> ```
>
