定制 codecon/laravel-simplesheet 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

codecon/laravel-simplesheet

Composer 安装命令:

composer require codecon/laravel-simplesheet

包简介

Simple, powerful and memory-efficient spreadsheet exports and imports in Laravel

README 文档

README

THIS PACKAGE HAS BEEN ABANDONED

Laravel Simplesheet

Wrapper around Box Spout with the goal of simplifying exports and imports in Laravel.

Quickstart · Documentation · Contributing · Support

Credits

This package uses a lot of code copied from Laravel Excel and probably wouldn't exist without it, so a big thanks to the Laravel Excel team for their work on that amazing package. Make sure to check it out!

Rationale

Laravel Excel is an amazing package and I highly recommend it. One problem I've had with it comes from using PhpSpreadsheet: working with really big datasets requires a lot of memory, even when the exports/imports are chunked. Some of the features provided by PhpSpreadsheet, like cell mapping and formulas, require it to hold entire document represented by objects in memory.

✨ Features

  • Easily export from different sources: an array, Laravel Collection or query, to different supported formats

  • Supercharged imports import of workbooks and worksheets to Eloquent models with batch inserts! Have large files? Your entire import can happen in the background. If you like, you can even handle each row youself!

  • Memory efficient. Using Box Spout allows this package to use considerably less memory than some alternatives.

Compared to Laravel Excel, this package provides less features because it uses a different library for working with spreadsheets under the hood. However it assures that exports and imports are fast and require less memory.

🎓 Using Laravel Simplesheet

You can find the full documentation of Laravel Simplesheet on the website.

Suggestions for improving the docs are welcome. The documentation repository can be found at https://github.com/nikazooz/laravel-simplesheet-docs.

License

This software is open source and licensed under the MIT license.

🔧 Supported Versions

Versions will be supported for a limited amount of time.

Version Laravel Version Php Version Box Spout Support
1.* 5.5 - 8.* ^7.1 ^2.7 No further support
2.* 5.5 - 8.* >=7.2 ^3.2 No further support

统计信息

  • 总下载量: 2.78k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固