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
The Certification of Competence for Laravel logo

The Certification of Competence for Laravel

A community-driven, proctored assessment across 4 levels designed to validate real-world Laravel knowledge, from Junior to mastery-level Artisan. Official Vue.js, Official Nuxt, Angular, React, JS certifications also available.

The Certification of Competence for Laravel
PhpStorm logo

PhpStorm

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

PhpStorm
LoadForge logo

LoadForge

Scalable load testing for web apps & APIs. Simulate real-world traffic and identify breaking points and performance limits with powerful, scalable load tests designed for Laravel.

LoadForge
Tighten logo

Tighten

We help companies turn great ideas into amazing apps, products, and services.

Tighten
Statamic logo

Statamic

The drop-in ready Laravel CMS you’re been waiting for. Go full-stack or headless, flat file or database – it’s up to you.

Statamic
Blastup logo

Blastup

Blastup provides social media enhancement services including buying Instagram likes, followers, and views, with features like instant delivery and a variety of packages to suit different needs.

Blastup