File fails to upload in laravel
<p>Here is my routes file</p>

<pre><code>Route::resource('item', 'ItemController');

Route::get('welcome', function() {
    return view('welcome');
});
Route::auth();

Route::get('/home', 'HomeController@index');
Route::get('/item', 'ItemController@store');

//Route
Route::post('/item', ['as' =&gt; 'item.store', 'uses' =&gt; 'ItemController@store']);
</code></pre>

<p>Here is my store controller</p>

<pre><code>public function store(Requests\CreateItem $request)
{
    Item::create($request-&gt;all());
    $file = $request-&gt;file('filename');
    if (Input::hasFile('filename')) {
        echo 'Uploaded';
        $file = Input::file('filename');
        $file-&gt;move('uploads', $file-&gt;getClientOriginalName());
    }
}
</code></pre>

<p>My upload form does not return any errors, but this snippet of code is not moving my uploads to the folder specified. What am I doing wrong? I am using Laravel 5.2.</p>

<p>edit: Here is my form</p>

<pre><code>   {!! Form::open(['url' =&gt;'route' =&gt; 'item.store', 'files' =&gt; true]) !!}
    {!! Form::label('name', "Name") !!}
    {!! Form::text('name', null, ['class' =&gt; 'form-control']) !!}

   {!! Form::label('filename', "File Name") !!}
    {!! Form::file('filename', null, ['class' =&gt; 'form-control']) !!}

    {!! Form::label('description', 'Description') !!}
    {!! Form::textarea('description', null, ['class' =&gt; 'form-control']) !!}
    {!! Form::submit('Add Item', ['class' =&gt; 'btn btn-primary form-control']) !!}
</code></pre>

<p>EDIT 2: Now I'm getting the following error upon accessing the form</p>

<blockquote>
  <p>FatalErrorException in 41b177cdb949fd0263185e364012b35dff81db06.php line 7: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'</p>
</blockquote>

<p>EDIT 2 Now I get this error everytime I try to access the add item form:</p>

<blockquote>
  <p>FatalErrorException in 41b177cdb949fd0263185e364012b35dff81db06.php line 7: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'</p>
</blockquote>