简体   繁体   中英

Laravel unstaliling tymon/jwt-auth package throws class LaravelServiceProvider not found

I'm trying to uninstall jwt-auth from my Laravel 8 application. I've removed all references to Tymon\JWTAuth , have done a composer clear-cache, my config no longer exists, it's been removed from the app config, but still, laravel throws the error, what am I missing:

In ProviderRepository.php line 208:
                                                                    
  Class 'Tymon\JWTAuth\Providers\LaravelServiceProvider' not found  

Check your config/app.php file you must have used Tymon\JWTAuth\Providers\LaravelServiceProvider in providers array

'providers' => [

        /*
         * Laravel Framework Service Providers...
         */
       ...
       Tymon\JWTAuth\Providers\LaravelServiceProvider::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