2017 © Pedro Peláez
 

library epub

image

justinrainbow/epub

  • Wednesday, May 29, 2013
  • by justinrainbow
  • Repository
  • 5 Watchers
  • 39 Stars
  • 3,379 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 24 Forks
  • 4 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

ePub lib for PHP - project status - Build Status

Installation

Composer (preferred)

Add justinrainbow/epub to your composer.json file., (*1)

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

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

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

Symfony2 Deps

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

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

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

<?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

29/05 2013

dev-master

9999999-dev

  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