Download the PHP package avadim/fast-excel-writer without Composer

On this page you can find all versions of the php package avadim/fast-excel-writer. 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 fast-excel-writer

GitHub Release Packagist Downloads GitHub License Static Badge


FastExcelWriter v.6

FastExcelWriter is a part of the FastExcelPhp Project which consists of

Introduction

This library is designed to be lightweight, super-fast and requires minimal memory usage.

FastExcelWriter creates Excel compatible spreadsheets in XLSX format (Office 2007+), with many features supported:

Jump To:

Installation

Use composer to install FastExcelWriter into your project:

Changes In Version 6

Important changes in version 6.1

Changes In Version 5

Important changes in version 5.8

Before v.5.8

In version 5.8 and later

If you want to keep the previous behavior for backward compatibility, you should use option 'auto_convert_number' when creating a workbook.

Changes In Version 4

Usage

You can find usage examples below or in /demo folder

Simple Example

Also, you can download generated file to client (send to browser)

Advanced Example

Adding Notes

There are currently two types of comments in Excel - comments and notes (see The difference between threaded comments and notes). Notes are old style comments in Excel (text on a light yellow background). You can add notes to any cells using method

You can change some note options. Allowed options of a note are:

Also, you can use rich text in notes

For more information on using rich text, see here: Using Rich Text

Adding Images

Shared Strings

By default, strings are written directly to sheets. This increases the file size a little, but speeds up data writing and saves memory. If you want strings to be written to the shared string xml, you need to use the 'shared_string' option.

FastExcelWriter vs PhpSpreadsheet

PhpSpreadsheet is a perfect library with wonderful features for reading and writing many document formats. FastExcelWriter can only write and only in XLSX format, but does it very fast and with minimal memory usage.

FastExcelWriter:

Benchmark of PhpSpreadsheet (P) and FastExcelWriter (F), spreadsheet generation without styles

Rows x Cols Time P Time F Memory P Memory F
1000 x 5 0.98 sec 0.19 sec 2,048 Kb 2,048 Kb
1000 x 25 4.68 sec 1.36 sec 14,336 Kb 2,048 Kb
5000 x 25 23.19 sec 3.61 sec 77,824 Kb 2,048 Kb
10000 x 50 105.8 sec 13.02 sec 256,000 Kb 2,048 Kb

Do you want to support FastExcelWriter?

if you find this package useful you can support and donate to me for a cup of coffee:

Or just give me a star on GitHub :)


All versions of fast-excel-writer with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-zip Version *
ext-json Version *
ext-mbstring Version *
avadim/fast-excel-helper Version ^1.2
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 avadim/fast-excel-writer contains the following files

Loading the files please wait ....