title: upload image to server modifying name
body: <p>I am building a form with laravel 5.6 and where I save a name and a user photo,
  but i need the photo to be stored with the username.
  I show the code of my store</p>
  <pre><code>public function store(Request $request)
      {
  
              $entrada=$request-&gt;all();
              if($archivo=$request-&gt;file('foto_dni')){
                  $nombre=$archivo-&gt;getClientOriginalName();
                  $archivo-&gt;move('fotosdni', $nombre);
                  $entrada['foto_dni']=$nombre;
              }
  
              Persona::create($entrada);
      }
  </code></pre>
  <p><strong>I can get the username with</strong>
  $request-&gt;nombre;</p>
  <p>but I don't know how to assign that name to the photo</p>