Laravel-Excel README

The project's README from github.com/SpartnerNL/Laravel-Excel. As one markdown file: README.md.



Laravel Excel logo


Supercharged Excel exports and imports

A simple, but elegant Laravel wrapper around PhpSpreadsheet exports and imports.

Quickstart · Documentation · Video Course · Nova · Blog · Contributing · Support

Github Actions StyleCI Latest Stable Version Total Downloads License

✨ Features

banner

🎓 Learning Laravel Excel

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

We welcome suggestions for improving our docs. The documentation repository can be found at https://github.com/SpartnerNL/laravel-excel-docs.

Some articles and tutorials can be found on our blog: https://medium.com/maatwebsite/laravel-excel/home

:mailbox_with_mail: License & Postcardware

1_5nblgs68uarg0wxxejozdq

Laravel Excel is created with love and care by Spartner (formerly known as Maatwebsite) to give back to the Laravel community. It is completely free (MIT license) to use, however the package is licensed as Postcardware. This means that if it makes it to your production environment, we would very much appreciate receiving a postcard from your hometown.

Spartner Markt 2 6231 LS Meerssen The Netherlands.

More about the license can be found at: https://docs.laravel-excel.com/3.1/getting-started/license.html

Created by Spartner (formerly Maatwebsite)

We are a strategic development partner, creating web-based custom built software from Laravel. In need of a digital solution for your challenge? Give us a call.

https://spartner.software [email protected] +31 (0) 10 - 7449312

:wrench: Supported Versions

Versions will be supported for a limited amount of time.

Version Laravel Version Php Version Support
2.1 <=5.6 <=7.0 Unsupported since 15-5-2018
3.0 ^5.5 ^7.0 Unsupported since 31-12-2018
3.1 >=5.8 | <=13.x ^7.2 | ^8.0 No active support, CVE only
4.0 >=12 | <=13.x ^8.3 New features

Laravel-Excel (SpartnerNL/Laravel-Excel)

Searching Database…

这是什么?Laravel Excel 是一个 Laravel 扩展包,它封装了 PhpSpreadsheet,让导出和导入 Excel/CSV 文件变得简单,并支持分块读取、批量插入,以及为大数据集使用的队列任务。
这是独立的工具,还是我要添加到 Laravel 应用里的扩展包?它是一个 Composer 扩展包,需要安装到现有的 Laravel 项目中,而不是独立应用。
我该如何把它添加到我的 Laravel 项目中?通过 Composer 把它安装到你的 Laravel 应用中;完整的安装和使用说明请参阅官方文档网站。
它需要哪些 PHP 和 Laravel 版本?当前版本需要 Laravel 8-13.x 和 PHP ^8.3;其底层引擎使用 PhpSpreadsheet。
导出大数据量时能顺利处理吗?可以,它就是为此设计的:查询会自动分块处理,导出和导入都可以排入队列,在后台分块运行,因此大文件不会阻塞你的应用。
MIT 许可证就是全部条款了吗?它采用 MIT 许可证,可以免费使用;但作者希望(而非要求)你在生产环境中使用时寄给他们一张实体明信片,其品牌名为“Postcardware”。
我可以导出自定义的 HTML 布局,而不是普通表格吗?可以,你可以把布局设计成一个包含 HTML 表格的 Blade 视图,然后直接将该视图导出为电子表格。
导入时能直接写入我的数据库模型吗?可以,导入时可以将工作簿、工作表中的行映射到 Eloquent 模型,结合分块读取和批量插入来提高效率。
Creator
SpartnerNL
Size
3.9 MB
Stars
12.7K
Age
12y
Commits · 90 Days