I have added \"illuminate/html\": \"5.*\" to composer.json and ran \"composer update\".
- Installing illuminate/html (v5.0.0)
Loading from cache
Use Form
, not form
. The capitalization counts.
I have tried everything, but only this helped:
php artisan route:clear
php artisan cache:clear
Begin by installing this package through Composer. Run the following from the terminal:
composer require "laravelcollective/html":"^5.3.0"
Next, add your new provider to the providers array of config/app.php:
'providers' => [
// ...
Collective\Html\HtmlServiceProvider::class,
// ...
],
Finally, add two class aliases to the aliases array of config/app.php:
'aliases' => [
// ...
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
// ...
],
SRC:
https://laravelcollective.com/docs/5.3/html