[英]hi i just run the command : composer require sentry/sentry-laravel But i got this error
In ProviderRepository.php line 208:在 ProviderRepository.php 第 208 行:
Class 'Sentry\SentryLaravel\SentryLaravelServiceProvider' not found Class 'Sentry\SentryLaravel\SentryLaravelServiceProvider' 未找到
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1脚本@php artisan package:discover --ansi 处理返回的自动加载转储后事件,错误代码为 1
check version of sentry/sentry-laravel from composer.json.从 composer.json 检查 sentry/sentry-laravel 的版本。 Please notice after version 1.x namespace has been changed to:
请注意版本 1.x 命名空间已更改为:
'providers' => array(
Sentry\Laravel\ServiceProvider::class,
)
'aliases' => array(
'Sentry' => Sentry\Laravel\Facade::class,
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.