PHPackages                             lightshire/laravel-phpexcel-wrapper - 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. lightshire/laravel-phpexcel-wrapper

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

lightshire/laravel-phpexcel-wrapper
===================================

PHPOffice PHPExcel wrapper

1797PHP

Since Mar 13Pushed 12y ago1 watchersCompare

[ Source](https://github.com/lightshire/laravel-phpexcel)[ Packagist](https://packagist.org/packages/lightshire/laravel-phpexcel-wrapper)[ RSS](/packages/lightshire-laravel-phpexcel-wrapper/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPExcel Wrapper for Laravel 4
------------------------------

[](#phpexcel-wrapper-for-laravel-4)

### Installation

[](#installation)

1. Require package via composer.json

    lightshire/laravel-phpexcel-wrapper
2. Run composer update

    $ composer update
3. Open **app/config/app.php** and add ServiceProvider to 'providers' array

    'Lightshire\\PHPExcel\\ServiceProvider',
4. Optionally add to aliases

    'Excel' =&gt; 'Lightshire\\PHPExcel\\Facade',

### Usage

[](#usage)

Create Excel xls file from array

```
Excel::fromArray( array(
	array('1', '2', '3'),
	array('X', 'Y', 'Z')
) )->save( base_path() . '/sample.xls' );

```

Create Excel xlsx file from array

```
Excel::fromArray( array(
	array('Hello', 'World', '!!!'),
	array('X', 'Y', 'Z')
) )->save( base_path() . '/sample.xlsx' );

```

Create array from Excel file

```
Excel::excel2Array( base_path() . '/sample.xls' );

```

### License

[](#license)

[MIT license](http://opensource.org/licenses/MIT)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/89c90411d4adf92cfbf90f3f51288a55fa55f31f4cf5605fec3f770d90bf62f1?d=identicon)[imcorleone](/maintainers/imcorleone)

---

Top Contributors

[![lightshire](https://avatars.githubusercontent.com/u/3846598?v=4)](https://github.com/lightshire "lightshire (12 commits)")[![rozklad](https://avatars.githubusercontent.com/u/3017167?v=4)](https://github.com/rozklad "rozklad (8 commits)")[![morganseznec](https://avatars.githubusercontent.com/u/3680281?v=4)](https://github.com/morganseznec "morganseznec (1 commits)")

### Embed Badge

![Health badge](/badges/lightshire-laravel-phpexcel-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/lightshire-laravel-phpexcel-wrapper/health.svg)](https://phpackages.com/packages/lightshire-laravel-phpexcel-wrapper)
```

###  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)
