2017 © Pedro Peláez
 

library epub

image

ridibooks/epub

  • Monday, July 16, 2018
  • by blu
  • Repository
  • 10 Watchers
  • 2 Stars
  • 3,391 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 24 Forks
  • 0 Open issues
  • 7 Versions
  • 25 % Grown

The README.md

ePub lib for PHP

Build Status, (*1)

Installation

Composer (preferred)

Add ridibooks/epub to your composer.json file., (*2)

{
    "require": {
        "ridibooks/epub": "dev-master"
    }
}

Then just run the composer.phar install (or composer.phar update if you added this to an existing composer.json file)., (*3)

wget http://getcomposer.org/composer.phar
php composer.phar install

Symfony2 Deps

Add the following to your deps file, (*4)

[epub]
    git=http://github.com/ridi/epub.git

After you have run the bin/vendors install script, add the following to your autoload.php file., (*5)

<?php

$loader->registerNamespaces(array(
    // ... other namespaces ...
    'ePub'  =>  __DIR__.'/../vendor/epub/src'
));

Usage

<?php

$reader = new \ePub\Reader();
$epub = $reader->load('my-book.epub');

printf("Title: %s\n", $epub->getMetadata()->get('title'));

Resources

  • http://www.hxa.name/articles/content/epub-guide_hxa7241_2007.html

The Versions

13/07 2018
07/06 2018

0.0.5

0.0.5.0

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

12/07 2016

0.0.4

0.0.4.0

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

29/05 2013

0.0.3

0.0.3.0

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

18/02 2013

0.0.2

0.0.2.0

  Sources   Download

The Requires

  • php >=5.3.2