Download the PHP package hametuha/hamepub without Composer
On this page you can find all versions of the php package hametuha/hamepub. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hametuha/hamepub
More information about hametuha/hamepub
Files in hametuha/hamepub
Package hamepub
Short Description PHP Library to handle ePub 3.0
License MIT
Homepage https://github.com/hametuha/hamepub
Informations about the package hamepub
HamePub
HemePub's living example is hametuha. It's a WordPress site which is able to publish it's contents to ePub.
If you maintain PHP-based web apps, HamePub will help your multi-publishing.
NOTICE: HamePub means nothing sexual. I wrote like this, because it sounds meaningful in Japanese.(HamePubはePub作成のためのPHPライブラリであり、エッチな出来事が起きるパブではありません)
How to Install
Use composer.
How to Use
You can user HamePub for dynamic ePub generation, but suppose that you have a static HTML collection like below:
Now we have CLI tool hamepub
and you can run CLI command in your working directory.
Next, edit JSON file like below:
Then, run command.
You will get ePub file my-first-ebook.epub
.
Resources
Below are important resources.
- ePub 3 Overview
- Mark Code List for Relators is the definition of
author
section.
Acknowledgement
The sample picture is credited by Public Domain Pictures and Nadi Lindsay.
License
This library is released under MIT.
All versions of hamepub with dependencies
ext-dom Version *
ext-json Version *
masterminds/html5 Version 2.*
minicli/minicli Version >=2.0