Documentation https://phpspreadsheet.readthedocs.io/en/latest/ Using in your PHP file Add these to the top of your PHP file: Depending on your server you might need something like this instead: You can test it works using their example test code:
Category: PhpSpreadsheet
Installing PhpSpreadsheet
Server needs Composer installed (may well already have it). Log in via SSH Instructions here: https://github.com/PHPOffice/PhpSpreadsheetBut basically you just use this command: composer require phpoffice/phpspreadsheet That will do the install. PhpSpreaqdsheet will get added to the servers root “/vendor” folder, so in “/vendor/phpoffice/phpspreadsheet/”