Add Composer To Synology and phpspreadsheet


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)
    1. Open web station
    2. php settings, turn on ‘phar’ under settings/extensions
    3. SSH to your Synology NAS, ‘cd’ to your location where you want to install it
    4. 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
  1. then,¬† execute¬†“composer require phpoffice/phpspreadsheet “
  2. read the documentation to get started phpoffice/phpspreadsheet

Leave a Reply