Download the PHP package founderplus-labs/epub-markdown without Composer

On this page you can find all versions of the php package founderplus-labs/epub-markdown. 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 epub-markdown

epub-markdown

Convert EPUB books to clean Markdown. Spine-ordered chapters, metadata, a level-1 outline, and a pluggable HTML converter — with zero dependencies beyond ext-zip and ext-dom.

Built for retrieval pipelines (chunking, embedding, search) where you want deterministic, embedding-friendly markdown rather than a pixel-perfect round trip.

Install

Use

Failures throw FounderplusLabs\EpubMarkdown\Exceptions\InvalidEpub with a human-readable message that is safe to surface in a UI.

Bring your own converter

If your corpus already speaks a markdown dialect, keep it — one dialect per corpus beats a prettier stranger:

The callable receives each chapter's inner <body> HTML and returns markdown.

Pairs well with league/html-to-markdown

Need a richer dialect — nested lists, tables, code blocks? Plug in league/html-to-markdown, the ecosystem standard:

The built-in converter stays the default because it is dependency-free and deterministic — but the seam is there when you want more.

Laravel

No service provider needed — it is a plain class. Construct it where you need it, or bind it once:

Design notes

Test

Fixtures are built at runtime (an EPUB is just a zip) — the repo carries no binaries.

License

MIT © Founderplus


All versions of epub-markdown 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 founderplus-labs/epub-markdown contains the following files

Loading the files please wait ...