PHPackages                             litlife/fb2-to-html - 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/fb2-to-html

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

litlife/fb2-to-html
===================

Fb2 to html module

0.0.2(8mo ago)116PHPPHP ^8.0

Since Feb 21Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/litlife/fb2-to-html)[ Packagist](https://packagist.org/packages/litlife/fb2-to-html)[ RSS](/packages/litlife-fb2-to-html/feed)WikiDiscussions master Synced 1w ago

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

litlife/fb2-to-html
===================

[](#litlifefb2-to-html)

This package can be used to convert fb2 to html

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

[](#installation)

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

```
composer require litlife/fb2-to-html
```

Usage
-----

[](#usage)

### Generate new sitemap and add new url

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

```
use DOMDocument;
use Litlife\Fb2ToHtml\Fb2ToHtml;

$inputXml =

text
text

Author

EOT;

$customClassNamePrefix = 'my-';

$dom = new DOMDocument();
$dom->loadXML($inputXml);

$class = new Fb2ToHtml($customClassNamePrefix);
$html = $class->toHtml($dom->getElementsByTagName('section')->item(0)->childNodes);

print($html);
```

Output html:

```

text
text

Author

```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance61

Regular maintenance activity

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity45

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 ~1301 days

Total

2

Last Release

244d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/litlife-fb2-to-html/health.svg)

```
[![Health](https://phpackages.com/badges/litlife-fb2-to-html/health.svg)](https://phpackages.com/packages/litlife-fb2-to-html)
```

###  Alternatives

[ideup/simple-paginator-bundle

Symfony 2 paginator bundle.

3423.1k](/packages/ideup-simple-paginator-bundle)[phpbu/phpbu-laravel

Laravel backup package - integrates phpbu with the laravel artisan command line tool

196.1k](/packages/phpbu-phpbu-laravel)[gipetto/cowsay

An extensible PHP port of the Cowsay linux utility

106.6k](/packages/gipetto-cowsay)

PHPackages © 2026

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