After posting a question Lumen + Dingo + JWT is not instantiable while building about Lumen and Dingo here in SO I got a nice detailed answer on how to set up such a system.
Within his setup there is a small authentication example, which uses Eloquent. Now we are loading an custom framework within Lumen, which has its own models etc, and has its own database connection etc.
What I can not seen to figure out is how to completely remove Eloquent, and do the authentication using our own framework.
What I have done so far:
Other edits I think that need to be done is editing
config\auth.php, or maybe even completely removing this file. I am not really sure.
App\Api\v1\Controllers\AuthController@postLogin there is made a call to a
validate function. This function needs to communicate with my framework and not via Eloquent. How this is done neatly in Lumen I am also not sure.