is laravel 5 compatble with PHP7? i have a centos 7 VM with NGINX and PHP7 installed, tried running...
i planned to create my own oauth server, do i still need to create a "User" model / databa...
whenever i access a model in service provider it returns an error: Call to a member function connect...
App::middleware('My\Middleware'); this doesn't work anymore.
url('auth/login') is this the only way to get the link to login page? is there a named route for it...
to get the id of the current logged in user, all you need to do is Auth::user()->id. no need to p...
$bar = 'hello world'; View::make('user.profile')->with('foo', $bar); in master layout just use {...
have you tried using create instead of insert?
by default session doesn't expire when browser is closed, you can check session.php in config folder...
The Laravel portal for problem solving, knowledge sharing and community building.