<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sandra Manyarkiy</title>
    <description>The latest articles on DEV Community by Sandra Manyarkiy (@butterflydev).</description>
    <link>https://dev.to/butterflydev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1312296%2Fa527475b-187b-492a-ad94-e3ec76730f7d.jpg</url>
      <title>DEV Community: Sandra Manyarkiy</title>
      <link>https://dev.to/butterflydev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/butterflydev"/>
    <language>en</language>
    <item>
      <title>Error "Class "App\Http\Controllers\Storage" not found"</title>
      <dc:creator>Sandra Manyarkiy</dc:creator>
      <pubDate>Wed, 28 Feb 2024 20:45:53 +0000</pubDate>
      <link>https://dev.to/butterflydev/error-class-apphttpcontrollersstorage-not-found-i5o</link>
      <guid>https://dev.to/butterflydev/error-class-apphttpcontrollersstorage-not-found-i5o</guid>
      <description>&lt;p&gt;To fix this error, insert "use Illuminate\Support\Facades\Storage;" at the top of your controller.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\View\View;
use App\Models\Country;
use App\Models\Tags;
use App\Models\Event;
use App\Http\Requests\CreateEventRequest;
use Illuminate\Support\Facades\Storage;  //here it is
use Illuminate\Support\Str;

class EventController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index(): View
    {
        $events = Event::with('country')-&amp;gt;get();
        return view('events.index', compact('events'));
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
  </channel>
</rss>
