Laravel: Auth Login with username instead of email
Laravel provides a flexible authentication system out-of-box.
By default, the authentication system uses email for authentication. But it can be easily changed to any other fields like username or phone number.