Powered by Blogger.

Install Laravel Collective on Laravel 5.8


Firstly, open your project location use command prompt, and then run code below.

 composer require "laravelcollective/html":"^5.8.0"  

Edit file app/config/app.php in your project and add this line to providers array.

 Collective\Html\HtmlServiceProvider::class  

Add the following aliases to aliases array in the same file.

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

No comments