1
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.

composer require maatwebsite/excel に失敗した

Posted at

PHP 8.1.6

Laravel Framework 8.83.24

エラー内容

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

解決法

  • 前提としてphpoffice/phpspreadsheetのパッケージが必要らしい

composer require phpoffice/phpspreadsheetを実行

composer.json内に"phpoffice/phpspreadsheet": "dev-NumberFormatMask-Helpers"が記述される

  • バージョンが対応していないので直す必要がある

composer.json内の上記部分を"phpoffice/phpspreadsheet": "^1.9"に変更

インストールできた

1
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
1
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?