Class 'form' not found (ok)

https://stackoverflow.com/questions/43207428/laravel-5-4-class-form-not-found

https://stackoverflow.com/questions/50001466/laravel-method-illuminate-validation-validatorvalidaterequest-does-not-exist

Part 1

composer require laravelcollective/html

Part 2: add these two lines into config/app.php

'aliases' => [
  'Form' => Collective\Html\FormFacade::class,
  'Html' => Collective\Html\HtmlFacade::class,
}

Last updated