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?

Laravel Intervention Imageが使えない

Posted at

Laravelに

composer require intervention/image


Intervention Image
をインストール後、

config/app.php
    'providers' => ServiceProvider::defaultProviders()->merge([
        ...
        Intervention\Image\ImageServiceProvider::class,
    ])->toArray(),

    'aliases' => Facade::defaultAliases()->merge([
        ...
        'Image' => Intervention\Image\Facades\Image::class,
    ])->toArray(),

を追加しましたが、

Class "Intervention\Image\ImageServiceProvider" not found

というエラーが発生し使用できませんでした。
どこを修正すれば使用できるようになりますでしょうか。

Laravelのバージョンは
Laravel Framework 10.38.2 です。

よろしくお願いします。

1
0
1

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?