Download the PHP package andileco/php-epub without Composer

On this page you can find all versions of the php package andileco/php-epub. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-epub

php-epub

A modern PHP library for creating ePub 3 ebooks. Zero dependencies, full ePub 3.0.1 compliance, ePub 2 NCX fallback, accessibility metadata, SVG and MathML support.

Requirements

Installation

Quick Start

Features

Fluent Builder API

All builder methods return new instances (immutable), so you can chain them:

ePub 3 Semantic Types

Tag chapters with semantic meaning from the EPUB 3 Structural Semantics Vocabulary:

This adds epub:type attributes to the XHTML and generates a landmarks navigation.

Nested Chapters

Create hierarchical table of contents:

SVG Support

SVG is an ePub 3 core media type. Include inline SVG for charts, diagrams, and illustrations:

The library automatically detects SVG content and sets the required properties="svg" in the OPF manifest.

MathML Support

Include mathematical equations using MathML:

Fixed Layout

Create pixel-perfect pages for comics, cookbooks, data dashboards, and children's books:

Presets are available for common dimensions:

For full control over spread and orientation:

Mixed Layout

Combine reflowable and fixed-layout pages in a single book. Useful for a reflowable book with occasional full-page charts or illustrations:

Accessibility

Include EPUB Accessibility and schema.org metadata:

Resources

Embed images, fonts, and other files:

Cover Image

Output Options

Architecture

The library is organized into a public API and internal implementation:

Internal classes handle the ePub specification details (OPF manifest, ZIP packaging, XHTML wrapping) and should not be used directly.

License

MIT


All versions of php-epub with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-zip Version *
ext-dom Version *
ext-libxml Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package andileco/php-epub contains the following files

Loading the files please wait ...