seblucas/php-epub-meta

There is no license information available for the latest version (1.0.1) of this package.

Reading and writing metadata included in the EPub ebook format

1.0.1 2018-01-05 15:36 UTC

This package is not auto-updated.

Last update: 2024-05-09 19:22:38 UTC


README

This project aims to create a PHP class for reading and writing metadata included in the EPub ebook format.

It also includes a very basic web interface to edit book metadata.

Please see the issue tracker for what's missing.

Forks and pull requests welcome.

About the EPub Manager Web Interface

The manager expects your ebooks in a single flat directory (no subfolders). The location of that directory has to be configured at the top of the index.php file.

All the epubs need to be read- and writable by the webserver.

The manager also makes some assumption on how the files should be named. The format is: <Author file-as>-<Title>.epub. Commas will be replaced by __ and spaces are replaced by _.

Note that the manager will RENAME your files to that form when saving.

Using the "Lookup Book Data" link will open a dialog that searches the book at Google Books you can use the found data using the "fill in" and "replace" buttons. The former will only fill empty fields, while the latter will replace all data. Author filling is missing currently.

Installing via Composer

You can use this package in your projects with Composer. Just add these lines to your project's composer.json:

    "require": {
        "seblucas/php-epub-meta": "dev-master",
    }