title: How to show Save success message in Laravel 5.1?
body: <p>In Laravel 5.1, I can save the data in the database. But I would like to show a success message. How can I do it? My code in Controller save code is</p>
  
  <pre><code>public function store(Request $request)
  {
  
      $this-&gt;validate($request,[
          'name'=&gt;'required|unique:seeders|max:255',
          'address'=&gt;'required`enter code here`',
          'age'=&gt;'required',
      ]);
  
      $seeder=new Seeders();
      $seeder-&gt;name=$request-&gt;input('name');
      $seeder-&gt;address=$request-&gt;input('address');
      $seeder-&gt;age=$request-&gt;input('age');
      $seeder-&gt;save();
  
      return redirect()-&gt;route("photo.index");
  } // save data
  </code></pre>