Openspout
Openspout stats
- Downloads
- 17M
- Stars
- 691
- Open Issues
- 50
- Forks
- 95
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 yourcomposer.jsonand 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/spoutup until commitcc42c1dis 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.