kriss / spout
PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
Fund package maintenance!
adrilo
- v3.3.0.3
- v3.3.0.2
- v3.3.0
- v3.2.0
- dev-master / 3.1.x-dev
- v3.1.0
- v3.0.1
- v3.0.0
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7.0
- v2.6.0
- v2.5.0
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.0
- v2.1.0
- v2.0.1
- v2.0.0
- v1.1.0
- v1.0.11
- v1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-phpstan_level_4
- dev-2.x-branch
This package is auto-updated.
Last update: 2024-10-16 18:28:20 UTC
README
- 合并了 PR 738
- 新增支持了数据垂直样式(水平垂直居中)
- 发布版本号为官方版本号后加一位
Spout
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:
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 testsphpunit --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).
Support
You can ask questions, submit new features ideas or discuss Spout in the chat room:
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.