Download the PHP package pittacusw/excel without Composer
On this page you can find all versions of the php package pittacusw/excel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package excel
PittacusW Excel
Lightweight collection-first helpers for importing and exporting spreadsheets in Laravel.
This package wraps maatwebsite/excel with a smaller API for the common cases:
- export collections or arrays with optional headings
- auto-derive headings from associative rows
- import spreadsheets directly into an
Illuminate\Support\Collection - work cleanly across Laravel 9, 10, 11, 12, and 13
Compatibility
| Laravel | Testbench | PHP |
|---|---|---|
| 9.x | 7.x | 8.1+ |
| 10.x | 8.x | 8.1+ |
| 11.x | 9.x | 8.2+ |
| 12.x | 10.x | 8.2+ |
| 13.x | 11.x | 8.3+ |
Installation
Usage
Inject the service:
Use the facade explicitly:
Export API
Import API
Imported rows are returned as an Illuminate\Support\Collection.
Public API
Upgrade Notes
- The package now ships a real
PittacusW\Excel\Excelservice behind the facade. - The automatic global
Excelalias was removed to avoid collisions withMaatwebsite\Excel\Facades\Excel. - Exports now normalize associative rows and can infer headings automatically.
- Imports now keep the imported collection available after execution.
Testing
All versions of excel with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
illuminate/contracts Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
maatwebsite/excel Version ^3.1.68|^4.0
illuminate/contracts Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
maatwebsite/excel Version ^3.1.68|^4.0
The package pittacusw/excel contains the following files
Loading the files please wait ...