PHPackages                             litlife/book-converter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. litlife/book-converter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

litlife/book-converter
======================

Converter of various book formats

0.0.2(1y ago)020MITPHPPHP ^8.2.0

Since Feb 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/litlife/book-converter)[ Packagist](https://packagist.org/packages/litlife/book-converter)[ RSS](/packages/litlife-book-converter/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

litlife/book-converter
======================

[](#litlifebook-converter)

With this package, you can convert various formats of e-books

Installation
------------

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install.

```
composer require litlife/book-converter
```

For the Calibre driver to work, you need to install [Calibre](https://calibre-ebook.com/download)

```
sudo apt install calibre
```

For the Abiword driver to work, you need to install [Abiword](https://www.abisource.com/download/)

```
sudo apt install abiword
```

Usage
-----

[](#usage)

### Generate new sitemap and add new url

[](#generate-new-sitemap-and-add-new-url)

```
use Litlife\BookConverter\BookConverter;

$outputFile = (new BookConverter())
  ->with('calibre')
  ->open(__DIR__ . '/files/test.txt')
  ->convertToFormat('fb2');

print_r($outputFile->getFilePath());
print_r($outputFile->getExtension());
print_r($outputFile->getStream());
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1010 days

Total

2

Last Release

529d ago

PHP version history (2 changes)0.0.1PHP ^8.0.2

0.0.2PHP ^8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6352d87faeaa45b2da5e0872605cfd08d9a25851f0a54424399c58b8a4f1a14b?d=identicon)[litlife](/maintainers/litlife)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/litlife-book-converter/health.svg)

```
[![Health](https://phpackages.com/badges/litlife-book-converter/health.svg)](https://phpackages.com/packages/litlife-book-converter)
```

###  Alternatives

[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[spatie/typescript-transformer

This is my package typescript-transformer

3706.5M16](/packages/spatie-typescript-transformer)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[eclipxe/cfdiutils

PHP Common utilities for Mexican CFDI 3.2, 3.3 &amp; 4.0

141129.9k6](/packages/eclipxe-cfdiutils)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
