PHPackages                             media24si/eslog2-reader - 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. media24si/eslog2-reader

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

media24si/eslog2-reader
=======================

Read and parse eSlog 2.0 XML invoice files

07PHP

Since Feb 17Pushed 4mo agoCompare

[ Source](https://github.com/Media24si/eslog2-reader)[ Packagist](https://packagist.org/packages/media24si/eslog2-reader)[ RSS](/packages/media24si-eslog2-reader/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

eSlog 2.0 Reader
================

[](#eslog-20-reader)

A PHP library for reading and parsing eSlog 2.0 XML invoice files.

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

[](#installation)

Install via Composer:

```
composer require media24si/eslog2_reader
```

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- ext-simplexml

Usage
-----

[](#usage)

```
use Media24si\eSlog2Reader\ParseInvoiceXML;

// Parse an eSlog 2.0 invoice XML file
$parser = new ParseInvoiceXML();
$invoice = $parser->getAllData('path/to/invoice.xml'); //To get all invoice data
$invoice = $parser->getSpecificData('path/to/invoice.xml'); //Get specific data at your request (must set it up)

// Access invoice data
// ...
```

Features
--------

[](#features)

- Parse eSlog 2.0 XML invoice format
- Extract line items, tax information, and financial details
- Support for various segment types (dates, amounts, taxes, etc.)

Testing
-------

[](#testing)

Run the test suite:

```
composer test
```

Or run PHPUnit directly:

```
./vendor/bin/phpunit
```

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for more information.

Author
------

[](#author)

Mark Hafner

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance52

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/17848fce32bf9d0ecfb9427ab0e842794bdd8b2c26eec791e5dad8d33b8703b5?d=identicon)[BostjanOb](/maintainers/BostjanOb)

![](https://www.gravatar.com/avatar/76377f1c458c145b71744614839c42eb9c16cf87c1f902173e5d3d9a3bac28ff?d=identicon)[MarkHafner](/maintainers/MarkHafner)

---

Top Contributors

[![MarkHafner](https://avatars.githubusercontent.com/u/193726650?v=4)](https://github.com/MarkHafner "MarkHafner (7 commits)")[![ahac](https://avatars.githubusercontent.com/u/273572?v=4)](https://github.com/ahac "ahac (6 commits)")

### Embed Badge

![Health badge](/badges/media24si-eslog2-reader/health.svg)

```
[![Health](https://phpackages.com/badges/media24si-eslog2-reader/health.svg)](https://phpackages.com/packages/media24si-eslog2-reader)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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