Skip to content
/ spout Public
forked from box/spout

Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

License

Notifications You must be signed in to change notification settings

revizto/spout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

abfb61d · Jul 23, 2023
Jun 7, 2021
May 14, 2021
Sep 14, 2021
May 26, 2021
Apr 15, 2015
Jun 3, 2018
Apr 5, 2021
Nov 18, 2019
May 22, 2017
Feb 9, 2021
Feb 9, 2021
Jan 16, 2015
May 10, 2021
Feb 8, 2021
Mar 28, 2018
Jul 23, 2023
Jan 16, 2015
Feb 8, 2021

Repository files navigation

Spout

Latest Stable Version Project Status Build Status Scrutinizer Code Quality Code Coverage Total Downloads

Spout is a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way. Unlike other file readers or writers, it is capable of processing very large files, while keeping the memory usage really low (less than 3MB).

Join the community and come discuss Spout: Gitter

Documentation

Full documentation can be found at https://opensource.box.com/spout/.

Requirements

  • PHP version 7.2 or higher
  • PHP extension php_zip enabled
  • PHP extension php_xmlreader enabled

Upgrade guide

Version 3 introduced new functionality but also some breaking changes. If you want to upgrade your Spout codebase from version 2 please consult the Upgrade guide.

Running tests

The master branch includes unit, functional and performance tests. If you just want to check that everything is working as expected, executing the unit and functional tests is enough.

  • phpunit - runs unit and functional tests
  • phpunit --group perf-tests - only runs the performance tests

For information, the performance tests take about 10 minutes to run (processing 1 million rows files is not a quick thing).

Performance tests status: Build Status

Support

You can ask questions, submit new features ideas or discuss Spout in the chat room:
Gitter

Copyright and License

Copyright 2017 Box, Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%