title: Laravel Scout production error with TNTSearch driver
body: <p>Searching using the TNTSearch driver works in a Homestead environment however on production it returns error: the below error,</p>
  
  <blockquote>
    <p><code>Symfony\Component\Debug\Exception\FatalThrowableError: Class
    'AlgoliaSearch\Version' not found</code> on
    <code>vendor/laravel/scout/src/EngineManager.php:31</code></p>
  </blockquote>
  
  <p>However my .env has <code>SCOUT_DRIVER=tntsearch</code> and the config file scout.php has:</p>
  
  <pre class="lang-php prettyprint-override"><code>'driver' =&gt; env('SCOUT_DRIVER', 'tntsearch'),
  
  'tntsearch' =&gt; [
      'storage' =&gt; storage_path(),
      'fuzziness' =&gt; env('TNTSEARCH_FUZZINESS', false),
      'fuzzy' =&gt; [
          'prefix_length' =&gt; 2,
          'max_expansions' =&gt; 50,
          'distance' =&gt; 2
      ],
      'asYouType' =&gt; false,
      'searchBoolean' =&gt; env('TNTSEARCH_BOOLEAN', false),
  ]
  </code></pre>
  
  <p>The problem is that I am not using Algolia search and my composer file has Scout and TNTSearch driver. The search works in my local Homestead environment just not on the production server.</p>