Install PhpSpreadsheet

| June 21, 2020 | 2,854 views | PhpSpreadsheet

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

0 Comments

Leave a Reply

Your email address will not be published.