title: Laravel nova tool not working with Class not found error
body: <p>I'm creating a tool with laravel nova.</p>
  
  <p>I ran this command first,</p>
  
  <pre><code>php artisan nova:tool mytools/cachier
  </code></pre>
  
  <p>And then in my mai app directory App\Providers\NovaServiceProvider I added,</p>
  
  <pre><code>use Mytools\Cachier\Cachier;
  
  public function tools()
      {
          return [
              new Cachier(),
          ];
  
      }
  </code></pre>
  
  <p>This is my tool composer json</p>
  
  <pre><code>{
      "name": "mytools/cachier",
      "description": "A Laravel Nova tool.",
      "keywords": [
          "laravel",
          "nova"
      ],
      "license": "MIT",
      "require": {
          "php": "&gt;=7.1.0"
      },
      "autoload": {
          "psr-4": {
              "Mytools\\Cachier\\": "src/"
          }
      },
      "extra": {
          "laravel": {
              "providers": [
                  "Mytools\\Cachier\\ToolServiceProvider"
              ]
          }
      },
      "config": {
          "sort-packages": true
      },
      "minimum-stability": "dev",
      "prefer-stable": true
  }
  </code></pre>
  
  <p>But now when I'm trying to access app I'm getting this error.</p>
  
  <blockquote>
    <p>Symfony \ Component \ Debug \ Exception \ FatalThrowableError
    (E_ERROR) Class 'Mytools\Cachier\Cachier' not found</p>
  </blockquote>
  
  <p>It would be great if someone can help :'(</p>