Team of top Agricultural Scientist

 $this->validate($request ,[
            'title' => 'required',
            'featured' => 'required|image|'
        ]);

        $featured = $request->featured;

        $featured_new_name = $featured->getClientOriginalName();

        $featured->move('uploads/gallery', $featured_new_name);

        $post = Post::create([
            'title' => $request->title,
            'featured' => 'uploads/gallery/' . $featured_new_name,
            'content' => $request->content,

        ]);   

        Session::flash('success', 'Post Created Sucessfully.');

        return redirect()->route('admin.post.index');