Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: user747e5
Added: Jan 30, 2020 12:09 PM
Modified: Jan 30, 2020 1:17 PM
Views: 8
Tags: composer
  1. *in composer.json file :add
  2.      "require": {
  3. "laravelcollective/html": "~6.0"}
  4.  
  5. *in terminal run code:
  6. composer update
  7.  
  8. *wait for install package
  9.  
  10. *and
  11. *in app.php file :add
  12. 'providers' => [
  13.                 ...
  14.         Collective\Html\HtmlServiceProvider::class,
  15.                 ...]
  16.  
  17. 'aliases' => [
  18.            'Form' => Collective\Html\FormFacade::class,
  19.         'Html' => Collective\Html\HtmlFacade::class,
  20.     ],