简体   繁体   中英

hi i just run the command : composer require sentry/sentry-laravel But i got this error

In ProviderRepository.php line 208:

Class 'Sentry\SentryLaravel\SentryLaravelServiceProvider' not found

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

check version of sentry/sentry-laravel from composer.json. Please notice after version 1.x namespace has been changed to:

'providers' => array(
    Sentry\Laravel\ServiceProvider::class,
)

'aliases' => array(
    'Sentry' => Sentry\Laravel\Facade::class,
)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM