phpexportepubibooks

export to epub format in php


Does anyone know of a php class that can create/export ePub files?

I have a book stored in a mysql database and I wish to publish it as an ePub format book?

It's a very basic book, simple text and chapters, and a few images.

Any suggestions?


Solution

  • You might want to have a look at ePubExport project or get an idea from its source code.

    ePubExport is a Mediawiki extension for export wiki pages in epub format for offline reading in supported electronic readers or tablets.

    Also have a look at award-winning class EPub

    This class can be used to create create an ebook in EPUB format for Apple iPad and other ebook readers.

    It can set the ebook details like the author, publisher, comments, etc., as well the ebook chapter data.

    The class builds an archive with all the ebook information and serves the ebook archive for download or returns it as a string.

    More Resources/Libraries: