PHPackages                             irain/export-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. irain/export-excel

Abandoned → export-exceLibrary

irain/export-excel
==================

Simple &amp; Faster Export Excel

1.10.2(8y ago)2575MITPHP

Since Sep 10Pushed 8y ago2 watchersCompare

[ Source](https://github.com/motecshine/ExportExcel)[ Packagist](https://packagist.org/packages/irain/export-excel)[ RSS](/packages/irain-export-excel/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (7)Versions (25)Used By (0)

Export Excel
============

[](#export-excel)

`Export Excel` is a simple &amp; faster exports table tool.

 [![Latest Unstable Version](https://camo.githubusercontent.com/d636c67efe185311d634ce2fd8705727301f88faecad253dd6b22324d3666814/68747470733a2f2f7472617669732d63692e6f72672f6d6f7465637368696e652f4578706f7274457863656c2e7376673f6272616e63683d6d6173746572)](https://packagist.org/packages/irain/export-excel) [![Latest Unstable Version](https://camo.githubusercontent.com/5b99bced397a4a7e62cea8628bae1a78c44543394257d804533a86cc600e3776/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6f7465637368696e652f4578706f7274457863656c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://packagist.org/packages/irain/export-excel)

How To Install
==============

[](#how-to-install)

```
composer require irain/export-excel

```

Dependency
==========

[](#dependency)

```
"cache/simple-cache-bridge": "^1.0",
"cache/redis-adapter": "^1.0",
"cache/apcu-adapter": "^1.0",
"cache/memcache-adapter": "^1.0"
"phpoffice/phpspreadsheet" : "~1.0.0beta"

```

Example
=======

[](#example)

Export
------

[](#export)

```
    use Irain\ExportExcel\Export;
    $config = [
        'cache_driver' => [
            'name'   => 'redis',
            'server' => '127.0.0.1',
            'port'   => '6379',
        ],
        'path'         => DOWNLOAD_PATH,
        'writer'       => 'excel', // if empty default writer is `excel`
    ];

    $excelData = [
        ['green', '1']
    ];

    $fileName = 'export_file_name' . date('Y-m-d H:i:s', time());

    $export   = new Export($config);

    $export->fileName($fileName)
        ->header(['name', 'age'])
        ->data($excelData)
        ->output();

```

Import
------

[](#import)

```
    use Irain\ExportExcel\Import;  
    $importConfig = [
        'cache_driver' => [
            'name'   => 'redis',
            'server' => '127.0.0.1',
            'port'   => '6379',
        ],
        'writer'       => 'excel', // if empty default writer is `excel`
    ];

    $import = new \Irain\ExportExcel\Import($importConfig);
    $data = $import->setResource('/var/www/html/export_file_name.xls')
    ->header(['name', 'age'])
    ->resourceToArray();
```

Contributors
============

[](#contributors)

[viest](https://github.com/viest)

License
=======

[](#license)

Apache License 2.0

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 96.1% 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 ~3 days

Recently: every ~14 days

Total

20

Last Release

3105d ago

Major Versions

0.6.3 → 1.0.0beta2017-09-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/3405a1a39c7f51e34bed5335927a25e0fa7e91954f6a807288bf9cb7c2ae809e?d=identicon)[motecshine](/maintainers/motecshine)

---

Top Contributors

[![motecshine](https://avatars.githubusercontent.com/u/7615270?v=4)](https://github.com/motecshine "motecshine (73 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[wellcommerce/wellcommerce

WellCommerce Open-Source edition

5011.2k](/packages/wellcommerce-wellcommerce)[irail/stations

Use the Belgian railway's station in your PHP project

332.3k](/packages/irail-stations)

PHPackages © 2026

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