Mar 17 2015
Laravel 5 TIPS For Beginners!
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;
}
Mar 17 2015
Laravel 5 and simple Forms workaround
Here is a simple example of using laravel 5 powerful forms to deliver a secure and fast result!
To make our lives easier we need to install the HTML package!
In file /compojer.json we add: "require": { "laravel/framework": "5.0.*", "laravelcollective/html": "~5.0" },Next add the service provider and aliases.
In /config/app.php we update the following:
By Polyvios Damianakis • PHP 1 • Tags: Laravel