I did run composer require laravelcollective/html
Then I added to config/app.php
Inside Providers
Collective\Html\HtmlServiceProvider::class,
Inside aliases
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
but I get this:
Class 'Collective\Html\HtmlServiceProvider' not found
log:
local.ERROR: Class 'Collective\Html\HtmlServiceProvider' not found {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'Collective\Html\HtmlServiceProvider' not found at C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php:208)
[stacktrace]
#0 C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php(144): Illuminate\Foundation\ProviderRepository->createProvider('Collective\\Html...')
#1 C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php(61): Illuminate\Foundation\ProviderRepository->compileManifest(Array)
#2 C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(584): Illuminate\Foundation\ProviderRepository->load(Array)
#3 C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
#4 C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(210): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Object(Illuminate\Foundation\Application))
#5 C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(162): Illuminate\Foundation\Application->bootstrapWith(Array)
#6 C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(146): Illuminate\Foundation\Http\Kernel->bootstrap()
#7 C:\wamp\www\site\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#8 C:\wamp\www\site\public\index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#9 {main}
"}
how to solve that thank you