January 30, 2024 in Laravel auth attempt in laravel get always false the attempt() method will hash the password that is sent in. Seeing as your DB entry’s password is ‘admin’ in plaintext, that would fail. Save your password with Hash::make($password); and your problem should be solved. Read More
December 16, 2023 in Laravel, Php number to month name in php How to get number to month name in php Method 1 Method 2 Read More
September 28, 2023 in Laravel cookie in laravel Create cookie Get Value From cookie Delete cookie Check existance of cookie Read More
September 27, 2023 in Laravel why cookie not access in laravel constructor controller I’m trying to set the cookie variable in the construct function, but its setting a hashed variable like below when I do Cookie::get(‘cookie_name’); in the construct. Read More
September 22, 2023 in Laravel laravel pagination not working properly with sb admin 2 How to fix laravel 8 UI paginate problem? just make sure you have this in your AppServiceProvider. Read More
September 13, 2023 in Laravel auth attempt laravel 8 with status 1 You just take user status and check user status is true or false. You can take status using Auth::User()->status from auth session. Try this. Read More