PHPackages                             glhd/linen - 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. [Framework](/categories/framework)
4. /
5. glhd/linen

ActiveLibrary[Framework](/categories/framework)

glhd/linen
==========

0.1.0(2mo ago)21439.7k↓69.8%7MITPHPCI passing

Since Jul 25Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/glhd/linen)[ Packagist](https://packagist.org/packages/glhd/linen)[ RSS](/packages/glhd-linen/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (5)Dependencies (12)Versions (6)Used By (0)

 [ ![Build Status](https://github.com/glhd/linen/workflows/PHPUnit/badge.svg) ](https://github.com/glhd/linen/actions) [ ![Latest Stable Release](https://camo.githubusercontent.com/242b173929d71f2e1eea5589d2af55bfde22cc9a0197949733d4b34e090d52e4/68747470733a2f2f706f7365722e707567782e6f72672f676c68642f6c696e656e2f762f737461626c65) ](https://packagist.org/packages/glhd/linen) [ ![MIT Licensed](https://camo.githubusercontent.com/e9cf48b0d1ace526ec6db2434f853cf53a8b788d73342094f5ec471e67e51c89/68747470733a2f2f706f7365722e707567782e6f72672f676c68642f6c696e656e2f6c6963656e7365) ](./LICENSE) [ ![Follow @cmorrell.com on bsky](https://camo.githubusercontent.com/8790699596340eff27762850c822f5e8e08a379e860085e46bf69359e4d2bc18/68747470733a2f2f696d672e736869656c64732e696f2f626c7565736b792f666f6c6c6f776572732f636d6f7272656c6c2e636f6d) ](https://bsky.app/profile/cmorrell.com)

 [![Linen](art/linen.png)](art/linen.png)
=========================================

[](#----)

Linen is a lightweight spreadsheet utility for Laravel. It's a simple wrapper for [openspout](https://github.com/openspout/openspout) with some data normalization conveniences.

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

[](#installation)

```
composer require glhd/linen
```

Usage
-----

[](#usage)

To read a spreadsheet:

```
foreach (Linen::read('path/to/your.xlsx') as $row) {
    // $row is a collection, keyed by the headers in snake_case
}
```

To write a spreadsheet:

```
// $data can be any iterable/Enumerable/etc
$path = Linen::write($data, 'path/to/your.xlsx');
```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance85

Actively maintained with recent releases

Popularity46

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.7% 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 ~151 days

Total

5

Last Release

78d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21592?v=4)[Chris Morrell](/maintainers/inxilpro)[@inxilpro](https://github.com/inxilpro)

---

Top Contributors

[![inxilpro](https://avatars.githubusercontent.com/u/21592?v=4)](https://github.com/inxilpro "inxilpro (22 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")[![skylerkatz](https://avatars.githubusercontent.com/u/7297992?v=4)](https://github.com/skylerkatz "skylerkatz (1 commits)")

---

Tags

laravel

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/glhd-linen/health.svg)

```
[![Health](https://phpackages.com/badges/glhd-linen/health.svg)](https://phpackages.com/packages/glhd-linen)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.1k91.3M277](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k199.2M1.2k](/packages/laravel-sail)[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k21.1M148](/packages/laravel-jetstream)[laravel/ai

The official AI SDK for Laravel.

9782.1M153](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

76318.2M110](/packages/laravel-mcp)[unopim/unopim

UnoPim Laravel PIM

10.1k2.2k](/packages/unopim-unopim)

PHPackages © 2026

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