0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Laravel10にmaatwebsite/Excel:^3.1.50をインストール

Posted at

Laravel10にmaatwebsite/Excelをインストール

Debian12にLaracel10を入れてmaatwebsite/Excelを入れようとすると1.0系が入る。
新しいバージョンを入れようとすると、モジュールが足りないのが原因で入らないようである。
足りないモジュールは、php-gd と php-zipが入っていないと怒られるようなので以下rootで操作

apt-get install php-gd php-zip

でインストール
続いてcomposerでphpspreadsheetとExcelを入れる

composer require phpoffice/phpspreadsheet
composer require maatwebsite/excel:^3.1.50

でインストールできる

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?