perhaps config('auth.providers.users.model') ?
but of course the application could have multiple guards and providers
Hi . I did not start to make my package . But I wonder how to access laravel user mode from my custom laravel package ..
Is there any guid for this ?
One option is to use a polymorphic relationship. I have written a section on the interaction with Laravel's user model on my blog: Creating a Laravel specific package (part 3) (look for the "Models related to App\User" heading)
Please or to participate in this conversation.