php生成ods文件,Spout是一个PHP库,可以快速,可扩展的方式读写电子表格文件(CSV,XLSX和ODS)...

Spout

68747470733a2f2f706f7365722e707567782e6f72672f626f782f73706f75742f762f737461626c65687474703a2f2f6f70656e736f757263652e626f782e636f6d2f6261646765732f6163746976652e73766768747470733a2f2f7472617669732d63692e6f72672f626f782f73706f75742e7376673f6272616e63683d6d617374657268747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626f782f73706f75742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d617374657268747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626f782f73706f75742f6261646765732f636f7665726167652e706e673f623d6d617374657268747470733a2f2f706f7365722e707567782e6f72672f626f782f73706f75742f646f776e6c6f616473

Spout is a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way. Contrary to 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 about Spout: 68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667

Documentation

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

Requirements

PHP version 5.4.0 or higher

PHP extension php_zip enabled

PHP extension php_xmlreader enabled

Running tests

On the master branch, only unit and functional tests are included. The performance tests require very large files and have been excluded. If you just want to check that everything is working as expected, executing the tests of the master branch is enough.

If you want to run performance tests, you will need to checkout the perf-tests branch. Multiple test suites can then be run, depending on the expected output:

phpunit - runs the whole test suite (unit + functional + performance tests)

phpunit --exclude-group perf-tests - only runs the unit and functional tests

phpunit --group perf-tests - only runs the performance tests

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

Performance tests status: 68747470733a2f2f7472617669732d63692e6f72672f626f782f73706f75742e7376673f6272616e63683d706572662d7465737473

Support

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

68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667

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

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值