Install PhpSpreadsheet

Posted

in

by

Read and write different spreadsheet file formats using the pure PHP library PhpSpreadsheet.

Requirements:

  • Composer
  • PHP 7.2 or newer

Simply require PhpSpreadsheet into your composer.json file to install it.

Other required extensions like the ext-gd and ext-mbstring can be found on the require section file on this link.

Step 1.

Setup dependencies.

{
    "require": {
        "phpoffice/phpspreadsheet": "^1.3"
    }
}

Step 2.

Install phpspreadsheet.

$ composer install

Test.

Create Xlsx Files
Read Xlsx Files


Posted

in

by

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest Tutorials

Web Dev Tutorials