PHPackages                             bur-gmbh/xlsx2data - 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. bur-gmbh/xlsx2data

ActiveLibrary

bur-gmbh/xlsx2data
==================

04PHP

Since Apr 5Pushed 7y agoCompare

[ Source](https://github.com/bur-gmbh/xlsx2data)[ Packagist](https://packagist.org/packages/bur-gmbh/xlsx2data)[ RSS](/packages/bur-gmbh-xlsx2data/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

xlsx2data
=========

[](#xlsx2data)

PHP Library to convert Microsoft Excel files to xml, yaml or json data

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

[](#installation)

The most convenient way to use the converter is with composer

```
composer require bur-gmbh/xlsx2data

```

Usage
-----

[](#usage)

To load an Microsoft Excel file just use the constructor and pass the filepath and name of the worksheet:

```
$file = 'myExcel.xlsx';
$sheet = 'Worksheet';

$converter = new Converter($file, $sheet);

```

If you don't pass a worksheet name the converter will use the active worksheet.

### XML

[](#xml)

To convert the Excel data to XMl use the `toXml` function.

```
$converter->toXml();

```

You can also save the data directly using:

```
$converter->saveXml('output.xml');

```

### JSON

[](#json)

To convert the Excel data to JSON use the following `toJson` function.

```
$converter->toJson()

```

Save Json:

```
$converter->saveJson('output.json');

```

### YAML

[](#yaml)

Get the Excel data as Yaml with the `toYaml` command.

```
$converter->toYaml()

```

Save as Yaml

```
$converter->saveYaml('output.yaml');

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community3

Small or concentrated contributor base

Maturity37

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b614834a3f63b0bc1d3a969f379e327e686a5add83359243d1c040c0df4e8d4c?d=identicon)[bur-gmbh](/maintainers/bur-gmbh)

---

Top Contributors

[![balt-technologies](https://avatars.githubusercontent.com/u/49306158?v=4)](https://github.com/balt-technologies "balt-technologies (1 commits)")

### Embed Badge

![Health badge](/badges/bur-gmbh-xlsx2data/health.svg)

```
[![Health](https://phpackages.com/badges/bur-gmbh-xlsx2data/health.svg)](https://phpackages.com/packages/bur-gmbh-xlsx2data)
```

PHPackages © 2026

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