title: Laravel 5.6.26 Error- Class 'Tymon\JWTAuth\Providers\LaravelServiceProvider' not found
body: <p>FYI,</p>
  
  <p>I have gone through several web links and found solutions like changing/adding to <strong>composer.json</strong> file </p>
  
  <pre><code>"tymon/jwt-auth": "^0.5.12" 
  "tymon/jwt-auth": "^1.0.0-beta.3" 
  "tymon/jwt-auth": "^1.0.0-rc.2"
  </code></pre>
  
  <p><strong>app.php</strong> config file with LaravelServiceProvider/JWTAuthServiceProvider</p>
  
  <pre><code>providers =&gt; [
  ---
          Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
  
          Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class,
  ---
  ]
  aliases =&gt; [
  -----
  'JWTAuth' =&gt; Tymon\JWTAuth\Facades\JWTAuth::class,
  'JWTFactory' =&gt; Tymon\JWTAuth\Facades\JWTFactory::class,
  -----
  ]
  </code></pre>
  
  <p>And</p>
  
  <pre><code>composer update --no-scripts
  composer update
  </code></pre>
  
  <p>When publishing:</p>
  
  <pre><code>php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
  </code></pre>
  
  <p>Error message below.</p>
  
  <pre><code>In ProviderRepository.php line 208:
  
    Class 'Tymon\JWTAuth\Providers\LaravelServiceProvider' not found
  </code></pre>
  
  <p>composer update output below</p>
  
  <pre><code>$composer update
  
  Loading composer repositories with package information
  Updating dependencies (including require-dev)
  Your requirements could not be resolved to an installable set of packages.
  
    Problem 1
      - Conclusion: remove laravel/framework v5.6.26
      - Conclusion: don't install laravel/framework v5.6.26
      - Installation request for tymon/jwt-auth 1.0.0-beta.3 -&gt; satisfiable by tymon/jwt-auth[1.0.0-beta.3].
      - Conclusion: don't install laravel/framework v5.6.1
      - Conclusion: don't install laravel/framework v5.6.0
      - tymon/jwt-auth 1.0.0-beta.3 requires illuminate/auth 5.1.* || 5.2.* || 5.3.* || 5.4.* -&gt; satisfiable by illuminate/auth[5.1.x-dev].
  
      - Installation request for laravel/framework 5.6.* -&gt; satisfiable by laravel/framework[5.6.x-dev].
  </code></pre>
  
  <p>Thanks in advance.</p>