How to Install Illuminate HTML In Laravel 5

1434774866000 php laravel

by Start Bootstrap


This post is because

I can able to see many users stuck up with installing illuminate/HTML Form helpers in Laravel 5.

In the previous version this helper comes by default, as a measure of making the Framework less size, they wanted the users to install this by themselves.

Here are the steps to Install illuminate/HTML Form Helpers in Laravel5

 

Step 1 : 

Navigate to your project folder using composer run the following query

composer require "illuminate/html":"5.0.*"

Step 2 : Open the app.php file and add the below service providers

'providers' => [
...
'Illuminate\Html\HtmlServiceProvider',
]
'aliases' => [
'Form'=> 'Illuminate\Html\FormFacade', 
'HTML'=> 'Illuminate\Html\HtmlFacade',
]   

Now, it‘s all set. You can check it by For css  and Js By :

{!! HTML::style('css/style.css') !!}
{!! HTML::script('js/script.js'); !!}

 

 


Blog Search
Tags
  • Sysaxiom (4)
  • Github (8)
  • Windows (1)
  • php (25)
  • General Tips (0)
  • GoogleMaps (2)
  • Google App Script (1)
  • Heroku (4)
  • Laravel Middleware (1)
  • xampp (1)
  • Terminal (1)
  • TechCrunch (1)
  • Ubuntu (3)
  • MySQL (2)
Side Widget
can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!