Laravel 5: Class 'HTML' not found

I'm just getting started with Laravel. I'm in a controller method and I say:

return \View::make('scrape', $data);

Then in scrape.blade.php I have:

@extends('layouts.master');

Finally, in layouts/master.blade.php I have:

{{ HTML::style('css/bootstrap.min.css') }}

And that where things seem to fall apart and I get:

FatalErrorException in 002eb18bb71fd3ec1de058967b799d49 line 6: Class 'HTML' not found

What am I doing wrong? Thanks for your help.

Answers


Searching on google I found this

"By default in Laravel 5.0, Html and Form are not embedded anymore."

You need to add this package to you application.


Need Your Help

Contains method ignoring case

c# .net

I have two string arrays which I need to compare for the like strings.

mvc 3 azure webrole in VWD 2010

asp.net-mvc-3 azure visual-web-developer webrole

I want to add a MVC 3 Webrole in my Azure project. But I am not able to find a mvc3 template in visual web developer when I go to add dialog from "Add new web role". When it comes to mvc project on...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.