Instructions
I’m going to show you how to get your Synology NAS working with composer and PhpSpreadsheet. Composer will manage (install/update) them for you.
I used
- DS416
- Web station package
- php 7.3
- SSH (in terminal for mac)
-
- Open web station
- php settings, turn on ‘phar’ under settings/extensions
- SSH to your Synology NAS, ‘cd’ to your location where you want to install it
- go to composer and copy each line of the four lines of code and paste it into your command line or terminal
continue for PhpSpreadsheet
- then, execute “composer require phpoffice/phpspreadsheet “
- read the documentation to get started phpoffice/phpspreadsheet