Download the PHP package nimmneun/onesheet without Composer

On this page you can find all versions of the php package nimmneun/onesheet. 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 onesheet

OneSheet

Build Status Scrutinizer Code Quality Code Coverage Downloads

OneSheet is a simple single/multi sheet excel/xlsx file writer for PHP 5, PHP 7 & PHP 8 with cell auto-sizing and styling support.

What it does

What it doesn't

Install via composer

Manual installation

If you can't or don't want to use composer for some reason, download & extract onsheet and require the file autoload.php from the releases root folder.

Minimal working example

Available Writer operations

Adding font styles

Adding background colors (fills)

Adding borders

Cell auto-sizing

... is cool, but comes with heavy performance impacts - especially when dealing with multibyte characters like ä, ß, Æ, ポ.

Keep in mind though ... you can improve runtimes for larger datasets by disabling it after adding a decent number of rows.

Impacts of autosizing 100k rows 10 cols 5 chars 100k rows 10 cols 10 chars 100k rows 10 cols 20 chars 100k rows 10 cols 40 chars
Autosizing OFF (Single Byte Chars) 7.6 seconds 7.6 seconds 7.7 seconds 7.7 seconds
Autosizing ON (Single Byte Chars) 9.4 seconds (+23%) 10.3 seconds (+35%) 12.4 seconds (+61%) 16.5 seconds (+114%)
Autosizing OFF (Multi Byte Chars) 7.9 seconds 8.4 seconds 9.1 seconds 9.8 seconds
Autosizing ON (Multi Byte Chars) 10.7 seconds (+35%) 13.0 seconds (+54%) 17.1 seconds (+87%) 23.3 seconds (+137%)

Intel Xeon E3-1220, Debian GNU/Linux 9.13, PHP 7.2.27-1+0~20200123.34+debian9~1.gbp63c0bc

Additional examples

Writing to multiple sheets

Issues, bugs, features and ...

Feel free to report any sightings =).


All versions of onesheet with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.4
ext-zip Version *
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 nimmneun/onesheet contains the following files

Loading the files please wait ....