PHPackages                             ouarea/excel-m - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. ouarea/excel-m

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

ouarea/excel-m
==============

A faster and more eloquent way of importing and exporting Excel and CSV in Laravel with the speed of Spout

v1.0.6(7y ago)11.5kMITPHPPHP &gt;=5.6

Since Apr 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/linojiang268/excel-m)[ Packagist](https://packagist.org/packages/ouarea/excel-m)[ RSS](/packages/ouarea-excel-m/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Laravel Excel Light
===================

[](#laravel-excel-light)

> No plans for further development and/or support. This is just an experiment to improve the Laravel-Excel library.

A faster and more eloquent way of importing and exporting Excel and CSV in Laravel with the speed of Spout.

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

[](#installation)

```
composer require maatwebsite/laravel-excel-light

```

Add the Service Provider in app.php

```
Maatwebsite\ExcelLight\LaravelExcelServiceProvider::class

```

The Excel class can be injected in your service:

```
public function __construct(\Maatwebsite\ExcelLight\Excel $excel)

```

Optionally you can also inject the Reader and Writer:

```
public function __construct(\Maatwebsite\ExcelLight\Reader $reader)
public function __construct(\Maatwebsite\ExcelLight\Writer $writer)

```

Reading
-------

[](#reading)

### Fluent usage:

[](#fluent-usage)

```
$excel->load(storage_path('workbook.xlsx'), function (Reader $reader) {
    $reader->sheets(function (Sheet $sheet) {
        $sheet->rows(function (Row $row) {

            // Get a column
            $row->column('heading_key');

            // Magic get
            $row->heading_key;

            // Array access
            $row['heading_key'];
        });
    });
});
```

### Classic usage:

[](#classic-usage)

```
$reader = $excel->load(storage_path('workbook.xlsx'));

foreach ($reader->sheets() as $sheet) {
    foreach ($sheet->rows() as $row) {

        $row->column('heading_key');

        foreach ($row->cells() as $cell) {

        }
    }
}
```

Writing
-------

[](#writing)

```
$excel->create(function (Writer $writer) {
    $writer->sheet('sheet1', function (Writer $sheet) {
        $sheet->rows([
            [1, 2, 3],
            [4, 5, 6]
        ]);

        // Add more rows
        $sheet->rows([
            [7, 8, 9],
            [10, 11, 12]
        ]);
    });
})->export(storage_path('workbook.xlsx'));
```

Custom Readers and Writers
--------------------------

[](#custom-readers-and-writers)

Registering a customer reader:

```
$this->app->make(\Maatwebsite\ExcelLigt\ExcelManager::class)
    ->registerReader('driverName', function() {
        return YourReader();
    });

```

Registering a customer writer:

```
$this->app->make(\Maatwebsite\ExcelLigt\ExcelManager::class)
    ->registerWriter('driverName', function() {
        return YourWriter();
    });

```

Resolving a custom reader and writer:

```
__construct(ExcelManager $manager) {
    $reader = $manager->reader('driverName');
    $writer = $manager->writer('driverName');
}

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% 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 ~36 days

Total

5

Last Release

2803d ago

### Community

Maintainers

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

---

Top Contributors

[![linojiang268](https://avatars.githubusercontent.com/u/4715533?v=4)](https://github.com/linojiang268 "linojiang268 (14 commits)")[![patrickbrouwers](https://avatars.githubusercontent.com/u/7728097?v=4)](https://github.com/patrickbrouwers "patrickbrouwers (8 commits)")[![dotancohen](https://avatars.githubusercontent.com/u/246144?v=4)](https://github.com/dotancohen "dotancohen (1 commits)")[![ShaneRich5](https://avatars.githubusercontent.com/u/6422774?v=4)](https://github.com/ShaneRich5 "ShaneRich5 (1 commits)")

---

Tags

laravelexportexcelxlscsvodsimportreadwritespoutxlxs

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M712](/packages/maatwebsite-excel)[shuchkin/simplecsv

Parse and retrieve data from CSV files. Export data to CSV.

5192.4k](/packages/shuchkin-simplecsv)

PHPackages © 2026

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