title: "Cannot declare class App\Http\Controllers\category because the name is already in use"
body: <p>"Cannot declare class App\Http\Controllers\category because the name is already in use". How to fix it please someone explain me </p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use App\category;
  class category extends Controller
  {
  
      public function index(){
          return view('admin.category.category_entry');
      }
  
      public function save(Request $request){
          $categoryentry=new category();
          $categoryentry-&gt;name=$request-&gt;name;
          $categoryentry-&gt;description=$request-&gt; description;
          $categoryentry-&gt;publication_status=$request-&gt;publication_status;
          $categoryentry-&gt;save();
          return redirect('/category/save')-&gt;with('msg','Data inserted');
      }
  }
  </code></pre>