maatwebsite/laravel-nova-excel
Composer 安装命令:
composer require maatwebsite/laravel-nova-excel
包简介
Supercharged Excel exports for Laravel Nova Resources
README 文档
README
Supercharge your Laravel Nova resource exports
Quickstart · Documentation · Blog · Contributing · Support
✨ Features
-
Easily export resources to Excel. Supercharge your Nova resources and export them directly to an Excel or CSV document. Exporting has never been so easy.
-
Supercharged resource exports. Export resources with automatic chunking for better performance. You provide us the query, we handle the performance. Exporting even larger resources? No worries, Laravel Nova Excel has your back. You can queue your exports so all of this happens in the background.
-
Export based on filters and selection. Select or filter only certain resources and export only those to Excel!
-
Export lenses. Got custom lenses defined? When exporting from a lens, it will use the query of the lens to determine which data needs to be exported!
🚀 5 minutes quick start
💡 Require this package in the composer.json of your Laravel project. This will download the package and Laravel-Excel.
composer require maatwebsite/laravel-nova-excel
💪 Go to your resource. As example we'll use the app/Nova/User.php. Add DownloadExcel action to your actions() list.
<?php namespace App\Nova; use Illuminate\Http\Request; use Maatwebsite\LaravelNovaExcel\Actions\DownloadExcel; class User extends Resource { /** * The model the resource corresponds to. * * @var string */ public static $model = 'App\\User'; // Other default resource methods /** * Get the actions available for the resource. * * @param \Illuminate\Http\Request $request * * @return array */ public function actions(Request $request) { return [ new DownloadExcel, ]; } }
🔥 Go to your resource in your Nova admin panel, select all or some users and click "Download Excel"
📄 Find your users.xlsx in your downloads folder!
More installation instructions can be found at: https://docs.laravel-excel.com/nova/1.1/getting-started/installation.html
🎓 Learning Laravel Excel
You can find the full documentation of Laravel Nova Excel on the website.
We welcome suggestions for improving our docs. The documentation repository can be found at https://github.com/SpartnerSoftware/laravel-excel-docs.
Some articles and tutorials can be found on our blog: https://medium.com/maatwebsite/laravel-excel/home
📬 License & Postcardware
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
info@spartner.nl
+31 (0) 10 - 7449312
maatwebsite/laravel-nova-excel 适用场景与选型建议
maatwebsite/laravel-nova-excel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.62M 次下载、GitHub Stars 达 398, 最近一次更新时间为 2018 年 08 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「nova」 「laravel」 「PHPExcel」 「actions」 「phpspreadsheet」 「laravel-nova」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 maatwebsite/laravel-nova-excel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 maatwebsite/laravel-nova-excel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 maatwebsite/laravel-nova-excel 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel Nova card that shows you your system information.
A Laravel Nova card.
This Symfony bundle integrates PhpSpreadsheet into Symfony using Twig.
CakePHP excel generator
A Laravel Nova package for publishable fields
A Laravel Nova package for translatable fields
统计信息
- 总下载量: 6.62M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 403
- 点击次数: 51
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-25



