S
S
Sergey Chazov2019-04-19 08:26:30
Laravel
Sergey Chazov, 2019-04-19 08:26:30

How to connect ImageManager to Laravel?

I followed the instructions in image.intervention.io/getting_started/installation.
In the controller I specify

require '../vendor/autoload.php';
use Intervention\Image\ImageManager;

I get an error Although I specified Intervention\Image\Facades\Image::class Intervention\Image\ImageServiceProvider::class
Class 'App\Http\Controllers\Image' not found
in config/app.php
'Image' => Intervention\Image\Facades\Image::class . What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question