I have added this to my composer.json
"laravelcollective/html": "5.1.*"
Then ran composer update
Added this to my app.php providers:
Collective\Html\HtmlServiceProvider::class,
And this to aliases:
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
When I do this in my blade form:
{{ HTML::image('img/administrator.png') }}
I get this error:
Class 'HTML' not found
if I do this according to the class name case:
{{ Html::image('img/administrator.png') }}
It shows this on the form
<img src="http://evip.dev/img/administrator.png">Any suggestions?
Thanks
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community