Doing something in a blade with Form in a new laravel 5.4 project, e.g.
{{ Form::hidden('data-name', $value->name) }}
will throw:
Class 'Form' not found
There are many posts with ways to try to fix this (many different and conflicting answers, some with several files needing to be edited and commands run), but my question is what is the new "correct" way to manipulate the form in laravel 5.x, seeing as it has been dropped (and adding back is non trivial)?
Currently, I have resorted to this option for laravel 5+:
<input type="hidden" name="token" value="{{ app('request')->input('token') }}">