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'); !!}