glhd/linen
Linen is a lightweight spreadsheet utility for Laravel. It's a simple wrapper for openspout with some data normalization conveniences.
Installation
composer require glhd/linen
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');
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
637,827,751
9,703
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
413,412,504
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
394,964,158
4,660
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| 0.1.0 | ^10| | MIT | |
| 0.0.4 | ^10| | MIT | |
| 0.0.3 | ^10| | MIT | |
| 0.0.2 | ^10| | MIT | |
| 0.0.1 | ^10| | MIT |