hasib32 / rest-api-with-lumen

Rest API boilerplate for Lumen micro-framework.
486 stars 144 forks source link

get current user #26

Closed netwrkx closed 7 years ago

netwrkx commented 7 years ago

Hello, is there any logic to get currently loggedin user. something like /user/me

hasib32 commented 7 years ago

Yes, already there. https://github.com/hasib32/rest-api-with-lumen/blob/master/app/Repositories/EloquentUserRepository.php#L64-L66

netwrkx commented 7 years ago

seen, thanks