DEV Community

Tutsmake
Tutsmake

Posted on

Laravel 10 Class Intervention Image Facades Provider Not Found

If you're having trouble with the Intervention Image class, facades, or providers in Laravel. Here, we will find solution for that.

Laravel 10 Class Intervention Image Facades Provider Not Found

Intervention Image has optional support for Laravel. To use the package in Laravel, you can try these steps:

  • Add “intervention/image” to your composer.json file.
  • Run composer install.
  • Open your Laravel config file, config/app.php.
  • Add the service providers for the package to the providers array.
  • Add the facade of the package to the aliases array.
  • The Image Class will be auto-loaded by Laravel.

You can also try these steps:

  • Add php composer.phar require intervention/image.
  • Add Intervention\Image\ImageServiceProvider::class to the providers array in config/app.php.
  • Add 'Image' => Intervention\Image\Facades\Image::class to the aliases array in config/app.php.

Read More Laravel 10 Class Intervention Image Facades Provider Not Found

Top comments (0)