1. PhpSpreadsheetライブラリをインストールしたいディレクトリでcomposerを起動する。
2. composer require phpoffice/phpspreadsheet と入力しEnterキーを押す。
3. PhpSpreadsheetライブラリのインストール完了。