Download the PHP package mckue/laravel-excel without Composer

On this page you can find all versions of the php package mckue/laravel-excel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-excel

Laravel-excel 一款基于xlswriter的laravel扩展包

Latest Stable Version Total Downloads Latest Stable Version PHP Version Require License

xlswriter是一款高性能的php excel读写扩展,Laravel-excel基于SpartnerNL/Laravel-Excel代码上,切换成xlswriter扩展。 如果您的项目使用的是SpartnerNL/Laravel-Excel并且出现大数据导出性能问题,你不想修改大量的代码,那么当前的包可能会很适合你。 当然目前的包不可能百分之百兼容所有功能,目前只实现了部分基础的功能。

Xlswriter文档

如果本扩展帮助到了你 欢迎star。

如果本扩展有任何问题或有其他想法 欢迎提 issue与pull request。

Laravel-excel使用教程

环境要求

安装

发布mckue-excel.php配置文件:

1.命令

1.1 查看xlswriter扩展是否正常安装

展示信息如下:

如您的信息展示如上所示,证明您的cli环境下本扩展可用。

1.快速开始

🔥 在您的控制器中,您现在可以调用此导出:

最后添加一条能够访问导出的路由:

2.导出集合

InvoicesExport创建一个名为的新类app/Exports:

在您的控制器中,我们现在可以下载此导出:

您可以选择传入是否输出标头和自定义响应标头:

或者将其存储在磁盘上(例如 s3):

3.使用自定义结构

4.使用查询

5.使用迭代器

在前面的示例中,我们使用Excel::download Facades来启动导出。

我们现在可以下载导出而无需Facades:

或者将其存储在磁盘上:

更多文档可参考WIKI

在此感谢 xlswriter的开发者viest 以及 SpartnerNL/Laravel-Excel的开发者。 如有什么问题可以及时反馈到github哦。


All versions of laravel-excel with dependencies

PHP Build Version
Package Version
Requires ext-xlswriter Version *
ext-json Version *
php Version >=8.1
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
composer/semver Version ^3.3
phpoffice/phpspreadsheet Version ^1.18
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mckue/laravel-excel contains the following files

Loading the files please wait ....