title: Laravel String To Lower
body: <p>I'm trying to convert a string to lowercase in a views page (index.blade.php)</p>
  
  <p>The following is what I would like to achieve.</p>
  
  <pre><code>&lt;img src="images/teamnamesml.jpg logo"&gt;
  </code></pre>
  
  <p>This is my attempt</p>
  
  <pre><code>&lt;img src="images/{{ Str::lower($matchup-&gt;visitorTeam) }}sml.jpg"&gt;
  </code></pre>
  
  <p>I get this error</p>
  
  <pre><code>FatalErrorException in ed1bb29e73e623d0f837c841ed066275 line 71:
  Class 'Str' not found
  </code></pre>
  
  <p>Do I have to import the class <code>Illuminate\Support\Str</code> to a specific file?</p>