Laravel 5 TIPS For Beginners!

This specific content was written 7 years ago. Please keep this in mind as it may be outdated and not adhering to best-practices.

Here are some tips you might find handy when you think you have done everything according to the tutorials!

In formrequests to authorise access only for registered/signed users we add

use Auth;
public function authorize()
{
if ( !Auth::check() )
return false;
return true;
}

More