The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

Openspout

openspout/openspout image

Openspout stats

Downloads
17M
Stars
691
Open Issues
50
Forks
95

View on GitHub →

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

OpenSpout Package Summary

OpenSpout is a robust PHP library designed for efficient reading and writing of spreadsheet files, including CSV, XLSX, and ODS formats. It is a community-driven fork of the box/spout library, optimized for handling large files with minimal memory usage — typically less than 3MB.

Key Features:

  • Efficient Processing: Ideal for large files with low memory footprint.
  • Support for Multiple Formats: Handles CSV, XLSX, and ODS file types.
  • Community Driven: Open-source and maintained by the community, ensuring continuous improvements and updates.

Installation:

To integrate OpenSpout into your Laravel project, modify your composer.json to replace box/spout with openspout/openspout. Update your code to reflect namespace changes from Box\Spout to OpenSpout.

Upgrading:

  • From box/spout:v3: Follow the simple two-step replacement in both your composer.json and project code.
  • To Version 4: Significant enhancements and some breaking changes are introduced. Refer to the Upgrade Guide for detailed instructions.

Documentation:

The package's documentation is available in the docs/ directory, providing all necessary details for effective usage.

License:

  • Original Code: Code derived from box/spout up until commit cc42c1d is licensed under the Apache License, Version 2.0.
  • Subsequent Modifications: Code developed post the aforementioned commit is licensed under the MIT License, reflecting the community-driven nature of the project.

For more information, you can view the full licensing details on their GitHub repository.

OpenSpout stands out as a preferred solution for developers needing to manage large spreadsheet files efficiently, making it a valuable addition to any PHP-based project requiring such capabilities.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Openspout Openspout Related Articles

Lightweight Spreadsheets for Laravel image

Lightweight Spreadsheets for Laravel

Read article
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Honeybadger logo

Honeybadger

Simple developer-focused application monitoring for Laravel. Error tracking, log management, uptime monitoring, status pages, and more!

Honeybadger
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
CodeKudu logo

CodeKudu

Stand-ups, Retrospectives, and 360° Feedback for the entire team. 50% off with code LARAVELNEWS.

CodeKudu
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit