PHPackages                             digitools/fast-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. digitools/fast-excel

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

digitools/fast-excel
====================

v1.0.0(1y ago)01PHP

Since Dec 4Pushed 1y agoCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

**me/fast-excel**
=================

[](#mefast-excel)

A lightweight and efficient package for importing and exporting Excel files in PHP applications. This package focuses on simplicity and performance.

---

**Features**
------------

[](#features)

- Import data from Excel files into collections.
- Export data from collections to Excel files.
- Lightweight and fast, with no unnecessary overhead.
- Easy integration with Laravel and PHP applications.

---

**Installation**
----------------

[](#installation)

1. **Install via Composer**:

    ```
    composer require digitools/fast-excel
    ```
2. **Publish the Package** *(if needed)*: No configuration required. Just install and use.

---

**Usage**
---------

[](#usage)

### **Exporting Data to Excel**

[](#exporting-data-to-excel)

You can export data from collections, arrays, or Eloquent models to Excel files.

```
use Me\FastExcel\FastExcel;

$data = collect([
    ['name' => 'John Doe', 'email' => 'john@example.com'],
    ['name' => 'Jane Smith', 'email' => 'jane@example.com'],
]);

(new FastExcel($data))->export('users.xlsx');
```

---

### **Importing Data from Excel**

[](#importing-data-from-excel)

Import data from an Excel file into a collection for processing.

```
use Me\FastExcel\FastExcel;

$collection = (new FastExcel)->import('users.xlsx');
$collection->each(function ($row) {
    // Process each row
    User::create($row);
});
```

---

### **Customizing Export**

[](#customizing-export)

Customize the exported columns using a callback function.

```
use Me\FastExcel\FastExcel;

$data = User::all();

(new FastExcel($data))->export('users.xlsx', function ($user) {
    return [
        'Full Name' => $user->name,
        'Email Address' => $user->email,
    ];
});
```

---

### **Customizing Import**

[](#customizing-import)

Customize the import logic using a callback function.

```
use Me\FastExcel\FastExcel;

$users = (new FastExcel)->import('users.xlsx', function ($row) {
    return User::create([
        'name' => $row['Full Name'],
        'email' => $row['Email Address'],
    ]);
});
```

---

### **Exporting Large Datasets**

[](#exporting-large-datasets)

Use Laravel's cursor or chunking to handle large datasets.

```
use Me\FastExcel\FastExcel;

(new FastExcel(User::query()->cursor()))->export('large-users.xlsx');
```

---

**Testing**
-----------

[](#testing)

To ensure the package is working correctly:

1. Clone the repository.
2. Install dependencies: ```
    composer install
    ```

---

**Contributing**
----------------

[](#contributing)

Contributions are welcome! Feel free to submit a pull request or report issues.

---

**License**
-----------

[](#license)

This package is open-sourced software licensed under the [MIT License](LICENSE).

---

Let me know if you want further edits or additional instructions included!

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0915329748e0b3b6062e1a0110cd94552cd90313a133a087510813a6734fb92?d=identicon)[hs-dml](/maintainers/hs-dml)

---

Top Contributors

[![hs-dml](https://avatars.githubusercontent.com/u/159406999?v=4)](https://github.com/hs-dml "hs-dml (1 commits)")

### Embed Badge

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

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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