PHPackages                             aleksei-anisimov/simple-fb2 - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. aleksei-anisimov/simple-fb2

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

aleksei-anisimov/simple-fb2
===========================

fb2 parser

v0.1.1(2y ago)025MITPHP

Since Mar 1Pushed 2y agoCompare

[ Source](https://github.com/AlekseiAnisimov/SimpleFB2)[ Packagist](https://packagist.org/packages/aleksei-anisimov/simple-fb2)[ RSS](/packages/aleksei-anisimov-simple-fb2/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (11)Used By (0)

### SimpleFB2

[](#simplefb2)

\#Class for parsing fb2 files

use SimpleFB2\\SimpleFB2

$path\_to\_file = "/home/username/file.fb2"; $book = new SimpleFB2($path\_to\_file);

### Returns object description have authors name, book name, piblication date and etc.

[](#returns-object-description-have-authors-name-book-name-piblication-date-and-etc)

### Getting authors of book

[](#getting-authors-of-book)

$author = $book-&gt;getAuthor();

### Getting genres

[](#getting-genres)

$genres = $book-&gt;getGenres();

### Getting path to cover

[](#getting-path-to-cover)

$book-&gt;setCoverPath('/home/username/img'); $cover = $book-&gt;getCover();

### Getting text of book

[](#getting-text-of-book)

$book-&gt;getText();

### Getting annotation list

[](#getting-annotation-list)

$book-&gt;readNotes();

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Total

9

Last Release

762d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/33ea5cb624b394bea22add419d0e2273a4cf43d41a4ca8c60cce9717fc36a472?d=identicon)[AlekseiAnisimov](/maintainers/AlekseiAnisimov)

---

Top Contributors

[![AlekseiAnisimov](https://avatars.githubusercontent.com/u/46535751?v=4)](https://github.com/AlekseiAnisimov "AlekseiAnisimov (4 commits)")

### Embed Badge

![Health badge](/badges/aleksei-anisimov-simple-fb2/health.svg)

```
[![Health](https://phpackages.com/badges/aleksei-anisimov-simple-fb2/health.svg)](https://phpackages.com/packages/aleksei-anisimov-simple-fb2)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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