My application uses Laravel's ready authentication, however I'm requiring users to log in to it from a webservice.
So what I'm trying to do is that if the guy exists in the application database, he does Laravel's native authentication, if not, then I use the webservice.
The problem is that before authenticating, I need to check if it exists in the database and I would like to know if it has some native Laravel method so I can do this (without being a query with DB::select()
).