Lección 6: Instalación de LaravelCollective
Para instalar el paquete LaravelCollective debemos ejecutar el comando Artisan correspondiente en la Terminal y realizar las configuraciones el app.php. El enlace oficial del repositorio es: https://laravelcollective.com/
Para instalar correctamente el paquete correctamente debe ejecutar el siguiente comando, si no hay compatibilidad debe agregar la versión a instalar.
Ejecutar el comando artisan:
composer require "laravelcollective/html"
Ahora en el directorio app/config.php
agregar el providers
'Collective\Html\HtmlServiceProvider',
y en el alias
'Form' => 'Collective\Html\FormFacade',
'Html' => 'Collective\Html\HtmlFacade',
.
3553 visitas