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"
}
}
composer.json
Step 2.
Install phpspreadsheet.
$ composer install
command line
Leave a Reply