confirmed password verification laravel code example
Example: laravel password verification
// verification of password
if (Hash::check('secret', $hashedPassword))
{
// The passwords match...
}
// encyption of password
$password = Hash::make('secret');