From 9d98fccd0c53a73be4beac68532739d93858a044 Mon Sep 17 00:00:00 2001 From: Adi Prasetyo Date: Wed, 30 Aug 2017 05:06:51 -0700 Subject: [PATCH] add installation section give 2 way via json or cli --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c2accc0a..1f5d507c9 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,29 @@ Develop: [![Build Status](https://travis-ci.org/PHPOffice/PHPExcel.png?branch=de * PHP extension php_zip enabled (required if you need PHPExcel to handle .xlsx .ods or .gnumeric files) * PHP extension php_xml enabled * PHP extension php_gd2 enabled (optional, but required for exact column width autocalculation) - *Note:* PHP 5.6.29 has [a bug](https://bugs.php.net/bug.php?id=73530) that prevents SQLite3 caching to work correctly. Use a newer (or older) versions of PHP if you need SQLite3 caching. +## Installation + +PHPExcel is installed via [Composer](https://getcomposer.org/). + +1. via cli (command line interface) + + `composer require phpoffice/phpexcel` + +1. via composer.json, you just need to [add dependency](https://getcomposer.org/doc/04-schema.md) on PHPExcel into your package. + +Example: + +```json +{ + "require": { + "phpoffice/excel": "^1.8" + } +} +``` + ## Want to contribute?