Save all HTML field names in Controller - it is bad or not bad idea?
I recomend you to use Symfony like form builder. There you can create one form and reuse it anywhere. 

$form = FormFactory::create(FormType::class, $user)
    -&gt;add('name', TextType::class)
    -&gt;add('email', EmailType::class, [
        'rules' =&gt; 'unique:users,email',
    ])
    -&gt;add('save', SubmitType::class, ['label' =&gt; 'Save user']);


What is also good is with this form you can also validate your input at the same time.

 $form-&gt;handleRequest();



 if ($form-&gt;isSubmitted() &amp;&amp; $form-&gt;isValid()) {
      //Your code
 }


Here is link for repository