Q:

Class html not found in laravel

I am trying to upload an image from my 'public/uploads/' folder. But whenever i run the page i get the following error. I am using 5.2

Class HTML not found

How i can remove this error? 
@extends('main')

@section('content')

<h1>This is show.blade.php</h1>

    @if(isset($info))
    <div class='col-md-2 col-md-offset-2'>
        {{HTML::image('uploads/zami.jpg')}}
    </div>
    <div class='col-md-12'>
           <span>user id :</span><span>{{$info['info']['id']}}</span></br>
           <span>username :</span><span>{{$info['info']['username']}}</span></br>
    </div>
   @endif
@endsection

A:

Add this in composer.json require section
"illuminate/html": "5.*" 
and run composer update
Open your config/app.php
add under 'providers' array add this
Illuminate\Html\HtmlServiceProvider::class,
add under 'aliases' array add this
'Form'      => Illuminate\Html\FormFacade::class,
'Html'      => Illuminate\Html\HtmlFacade::class,

and under your blade templates, use like this
{!!  Html::image('uploads/zami.jpg') !!} 
Hope it will help you.