I have a laravel app now i'm to built it in core php in which i'm experiencing a problem in login page because the password is encrypted through bcrypt method in laravel. Help me to verify encrypted password through core php
i have tried password_hash('admin@12', PASSWORD_BCRYPT)
but still did't find the solutionPlain text is admin@12 and encrypted text is $2y$10$EHC8pQIUSYIBas943P6HEOEvZlQYAxI2zVGkwQiAkLTIDZrhbe6VG
enter image description here
\Session::flash('success', 'Your Account is activated please login to continue.');
User::create([
'username' => $request['username'],
'password' => bcrypt($request['password']),
'name' => $request['name'],
'card_number' => $request['card_number'],
'email' => $request['email'],
'phone' => $request['phone'],
'cnic' => $request['cnic'],
'address' => $request['address'],
'role' => "registered",
]);