Php 未找到类“干预\图像\外观\图像”

Php 未找到类“干预\图像\外观\图像”,php,laravel,laravel-5,Php,Laravel,Laravel 5,在将Intervention\Image\Facades\Image文件添加到供应商目录后,我遇到此错误。如何在不使用composer的情况下修复此错误 干预\Image\ImageServiceProvider::类 并加上: 'Image'=>Intervention\Image\Facades\Image::class 到同一文件的别名部分。请确保按我写的方式复制。我想您没有安装镜像软件包。首先,使用此命令安装packege 作曲家需要干预/图像不要。只要使用composer。我不能在我的

在将Intervention\Image\Facades\Image文件添加到供应商目录后,我遇到此错误。如何在不使用composer的情况下修复此错误

干预\Image\ImageServiceProvider::类

并加上: 'Image'=>Intervention\Image\Facades\Image::class


到同一文件的别名部分。请确保按我写的方式复制。

我想您没有安装镜像软件包。首先,使用此命令安装packege


作曲家需要干预/图像

不要。只要使用composer。我不能在我的capnel中使用它。我不知道如何使用php artisan Service或适当的web服务器?是否清除了缓存等。我使用thisRoute::get'/clear cache',函数{$exitCode=Artisan::call'config:clear';//返回所需内容};同样的问题请复制错误并张贴在这里,让我看看它到底是怎么说的。您能在您的答案中使用正确的代码格式吗?当前形式的答案很难阅读和理解。ProviderRepository.php第146行中的FatalErrorException:找不到类“Intervention\Image\ImageServiceProvider”您在控制器中添加了这个吗?使用图像;