Tag Archives: interview questions in laravel

remember_token in laravel

its field in the user table(or tables used for login purpose) it stores a string in this column For implementing remember me feature,you need to pass boolean value as the second parameter if (Auth::attempt([’email’ => $email, ‘password’ => $password], $remember)) { } This feature will keep the user aunthenticated undefinitely or untill they manually log… Read More »

What is Service provider in laravel?

Service provider will bootstrap all of the framework component such as database,queue,validation,routing components All of the service providers are configured in the config/app.php provider array. register() and boot() method will be called on all service providers,after this request will dispatch to route and controller Default service providers are stored in the app/Providers folder Click here… Read More »