php laravel ,laravel 5 tutorials ,laravel auth and laravel login page demo with mysql DB .its very easy to setup database and make a login module with laravel 5 …
Original source
php laravel ,laravel 5 tutorials ,laravel auth and laravel login page demo with mysql DB .its very easy to setup database and make a login module with laravel 5 …
Original source
37 responses to “PHP Laravel 5 login tutorial with mysql database. laravel tutorials.”
Hello Friend need to complete 1K Subscribers please help me and support to reach there.
Please Subscribe channel and support us.
Brilliant sir
how can we create database from command line
GRACIAAAAAAAAAAAAAAAAAAAAAAAS CTM
Thanks, it's really helpful !
Avaj muko bhai vadhare maja avse
i am one of ur subscriber, i want you to make a video on given task below.. plz do it as soon as possible so that we all your viewers will be benefited
Please create three pages in LARAVEL.
Task list:
1) Create page to add news. Fields are news title, description and news picture.
– Validate below fields:
– news title (required)
2) On page submit, redirect news to 'Success' page and display entered news's title on screen.
3) Create another page where all news will be listed with news title and uploaded pic in list view. If news click on news name then it will redirect to news detail page where you need to display all news's data.
Note:
1) Page should have common header with logo and menu with link to add news and view news list.
2) All data should be stored in database.
3) For validation, use Laravel inbuild validation functionality
hi amit, i am new to lavarel. i tried to create login using ur videos. but i am getting error on "object not found". it shows the login page with username and password but when I clicked on it. it say "object not found". can u pls help. i found that ur routes.php is in http folder but i have folder routes–>web.php. pls help me to sort it.
Can you tell me how to redirect after login with a username for show username with a welcome message?
Superb for the Fresher ,
In case if
DB::table('users')->where(['email'=>$username])->get(); // this line not work
try
DB::table('users')->where(['email'=>$username])->get(); // use backslash before then it will work proper. its bcoz of namespace Problem
Laravel introduce csrf_field() in version 5.1
{{ csrf_field() }} this will generate csrf token field,
it not work for me, i got some error (1/1) FatalErrorException
syntax error, unexpected '>'
in loginController.php (line 15)
how to resolve amit?
<?php
namespace AppHttpControllers;
use IlluminateFoundationBusDispatchesJobs;
use IlluminateRoutingController as BaseController;
use IlluminateFoundationValidationValidatesRequests;
use IlluminateFoundationAuthAccessAuthorizesRequests;
class loginController extends BaseController
{
public function login(Request $req)
{
$username = $req- >input('username');
$password = $req- >input('password');
$checkLogin = DB::table('user')- >where(['username'=>$username,'password'=>$password])- >get();
if(count($checkLogin) >0)
{
echo "Login Successfull<br/>";
print_r($req- >input());
}
else
{
echo "Login Failed Wrong Data Passed";
}
}
}
please reply my comment and help
login system i understand but how to make custom register system with database and phpmyadmin
it not work for me
batter use laravel migration instead to making a DB on mysql
Gracias Guevon me salvaste la vida
Thaks man!
Best tutorial ever!
undefined variable: checklogin
man it is very difficult to understand until and unless you speak!
very helpful tutorial,
just confused about DB class because here php-storm shows error that class is not define.
~help me please sir~
Horrible.. Why do you use laravel if you handle all this way?
How to login using custom auth or session ?
Oh..I got an error "The page has expired due to inactivity.
Please refresh and try again."…Please do help
Thank you very much very helpful
Soooi where is the session ?
i want something like that thanks for your video…. there is not voice but i understand with clarity …. 🙂
http://www.twoclock.com
thanks for helping
Thank you bro!!
Oh man, it work's! Thank you!
is that possible that by just creating a view in login.blade.php it is visible coz its not working on my side like that??
time Waster
thanks a lot amit….keep up the good work….very helpful… +1 Subsribers
Thank you very much
Hi amit ,
i get this error ,
could you help me
ReflectionException in Route.php line 286:
Class AppHttpControllersRequest does not exist
please add compare encrypted password
you haven't login your web, only checked if the user exists
thanks bro..
very helpful