[5.0] using response helpers in controllers

Posted 4 years ago by keevitaja

i really do not know, if it is 5.0 or perhaps it was allready in 4.x, but i just discovered from the password reminders controller, that there are some "cool" helpers available:

view(), redirect(), bcrypt() etc

are there any downsides in using them? code sure looks cleaner with

return view('some.view') versus return \View::make('some.view')

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.