PHPackages                             jwwb681232/laravel-excel-php74 - 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. jwwb681232/laravel-excel-php74

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

jwwb681232/laravel-excel-php74
==============================

Supercharged Excel exports in Laravel

2.0.0(3mo ago)054MITPHPPHP &gt;=5.5CI failing

Since Apr 2Pushed 3mo ago1 watchersCompare

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

READMEChangelogDependencies (12)Versions (3)Used By (0)

Laravel Excel v2.1.\* for Laravel 5
-----------------------------------

[](#laravel-excel-v21-for-laravel-5)

Looking for Laravel Excel for Laravel 4? Visit the [`1.3` branch](https://github.com/Maatwebsite/Laravel-Excel/tree/1.3)

[![](https://camo.githubusercontent.com/9711f8886226bf3e2e2345eba079b13a2c131b58739c8170e976cc52ccb7e511/687474703a2f2f7777772e6d616174776562736974652e6e6c2f696d672f657863656c5f62616e6e65722e6a7067)](https://laravel-excel.maatwebsite.nl/)[![](https://cloud.githubusercontent.com/assets/7728097/6332170/1b495af2-bb84-11e4-9a93-34a9abc01840.jpg)](http://www.maatwebsite.nl/vacature-php-programmeur-maastricht)

Laravel Excel brings the power of PHPOffice's PHPExcel to Laravel 5 with a touch of the Laravel Magic. It includes features like: importing Excel and CSV to collections, exporting models, array's and views to Excel, importing batches of files and importing a file by a config file.

- Import into Laravel **Collections**
- Export **Blade views** to Excel and CSV with optional CSS styling
- **Batch** imports
- A lot of optional **config settings**
- Easy **cell caching**
- Chunked and queued importer
- ExcelFile method injections
- Editing existing Excel files
- **Advanced import** by config files
- and many more...

---

```
Excel::create('Laravel Excel', function($excel) {

    $excel->sheet('Excel sheet', function($sheet) {

        $sheet->setOrientation('landscape');

    });

})->export('xls');
```

---

[![Build Status](https://camo.githubusercontent.com/898c2381fea8a7139345ff022cb627c6b9d39969104359a32dd378c3304a3d9e/68747470733a2f2f7472617669732d63692e6f72672f4d616174776562736974652f4c61726176656c2d457863656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Maatwebsite/Laravel-Excel)[![Latest Stable Version](https://camo.githubusercontent.com/b4354491c51694ea51ca96b7a1af0ea7e61afc92c61fd4c3c03be215294150db/68747470733a2f2f706f7365722e707567782e6f72672f6d616174776562736974652f657863656c2f762f737461626c652e706e67)](https://packagist.org/packages/maatwebsite/excel) [![Total Downloads](https://camo.githubusercontent.com/9b4fd31bb4092001dc86517d083383b1455d1bea1da88bcd87eb1e9b79be2b79/68747470733a2f2f706f7365722e707567782e6f72672f6d616174776562736974652f657863656c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/maatwebsite/excel) [![License](https://camo.githubusercontent.com/7c199f57a2e2c68bb14e188faf5c1b1a7a3f021cb9b724f5a2ad6cbd05b8408a/68747470733a2f2f706f7365722e707567782e6f72672f6d616174776562736974652f657863656c2f6c6963656e73652e706e67)](https://packagist.org/packages/maatwebsite/excel)[![Monthly Downloads](https://camo.githubusercontent.com/1e81392b601ae8360e3fea06dd51092b7d8edcce850f412143acbb096b3f0ce7/68747470733a2f2f706f7365722e707567782e6f72672f6d616174776562736974652f657863656c2f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/maatwebsite/excel)[![Daily Downloads](https://camo.githubusercontent.com/9454df6415f04a9577015832008d67e8f3e7c8b0ec0afc049c8363286a0e7f16/68747470733a2f2f706f7365722e707567782e6f72672f6d616174776562736974652f657863656c2f642f6461696c792e706e67)](https://packagist.org/packages/maatwebsite/excel)

Installation
============

[](#installation)

Require this package in your `composer.json` and update composer. This will download the package and PHPExcel of PHPOffice.

```
composer require "maatwebsite/excel:~2.1.0"
```

In Laravel 5.5 or higher, this package will be automatically discovered and you can safely skip the following two steps.

If using Laravel 5.4 or lower, after updating composer, add the ServiceProvider to the providers array in `config/app.php`

```
Maatwebsite\Excel\ExcelServiceProvider::class,
```

You can use the facade for shorter code; if using Laravel 5.4 or lower, add this to your aliases:

```
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
```

The class is bound to the ioC as `excel`

```
$excel = App::make('excel');
```

To publish the config settings in Laravel 5 use:

```
php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider"
```

This will add an `excel.php` config file to your config folder.

Documentation
=============

[](#documentation)

The complete documentation can be found at:

Support
=======

[](#support)

Support only through Github. Please don't mail us about issues, make a Github issue instead.

Contributing
============

[](#contributing)

**ALL** bug fixes should be made to appropriate branch (e.g. `2.0` for 2.0.\* bug fixes). Bug fixes should never be sent to the `master` branch.

More about contributing can be found at:

License
=======

[](#license)

This package is licensed under MIT. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!

FAQ
===

[](#faq)

1. Chunk importer only imports the first row

Check that auto\_detect\_line\_endings in your php.ini is set to true.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance82

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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

Every ~315 days

Total

2

Last Release

90d ago

Major Versions

1.0.0 → 2.0.02026-02-12

### Community

Maintainers

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

---

Top Contributors

[![jwwb681232](https://avatars.githubusercontent.com/u/13864588?v=4)](https://github.com/jwwb681232 "jwwb681232 (6 commits)")

---

Tags

laravelexportexcelcsvimportbatchPHPExcel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jwwb681232-laravel-excel-php74/health.svg)

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

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

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

PHPackages © 2026

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