PHPackages                             natilosir/excel - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. natilosir/excel

ActiveLibrary[File &amp; Storage](/categories/file-storage)

natilosir/excel
===============

A PHP library to work with Excel files using PhpSpreadsheet.

1.0.0(1y ago)13MITPHPPHP &gt;=7.4

Since Dec 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/natilosir/excel)[ Packagist](https://packagist.org/packages/natilosir/excel)[ RSS](/packages/natilosir-excel/feed)WikiDiscussions main Synced 1mo ago

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

excel
=====

[](#excel)

A simple PHP utility for working with Excel files using PhpSpreadsheet.

```
use Natilosir\Excel\Excel;
```

### Example 1: Create Excel file from array

[](#example-1-create-excel-file-from-array)

```
$data = [
    ["Name", "Age", "Salary"],
    ["John Doe", 28, 5000],
    ["Jane Smith", 34, 7000],
    ["Mark Taylor", 45, 9000],
];
Excel::ToExcel($data, "example.xlsx");
```

---

### Example 2: Convert Excel file to array

[](#example-2-convert-excel-file-to-array)

```
    $arrayFromExcel = Excel::ToArray("example.xlsx");
    print_r($arrayFromExcel);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance41

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Unknown

Total

1

Last Release

515d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab074f478dbfd74f8f693edecac575b69c1e42087aaa44343cc1b45c43c23059?d=identicon)[natilosir](/maintainers/natilosir)

### Embed Badge

![Health badge](/badges/natilosir-excel/health.svg)

```
[![Health](https://phpackages.com/badges/natilosir-excel/health.svg)](https://phpackages.com/packages/natilosir-excel)
```

PHPackages © 2026

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