Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corcel and Laravel Voyager incompatibility #610

Open
sligregni opened this issue May 9, 2022 · 1 comment
Open

Corcel and Laravel Voyager incompatibility #610

sligregni opened this issue May 9, 2022 · 1 comment

Comments

@sligregni
Copy link

  • Corcel Version: 5.1
  • Framework Name & Version: Laravel Framework 8.83.11
  • Voyager admin panel
  • PHP Version: PHP 7.4.3
  • Database Driver & Version: Mysql 5

Description:

Hello,
I know is not a bug of Corcel, but it seems use Corcel and Voyager are not compatible.

I follow the README changing the user provider in config/auth.php in
'providers' => [ 'users' => [ 'driver' => 'corcel', 'model' => Corcel\Model\User::class, ], ],
cause this error: Call to undefined method Corcel\Laravel\Auth\AuthUserProvider::getModel()

Is there a way to use the Corcel user and Auth facade manually without set the user provider?

Thanks,
Simone

Steps To Reproduce:

Installing Laravel 8
Installing Corcel
Installing Voyager

@profissionalsid
Copy link

Hello, Any solution, I'm having the same problem with laravel Jetstream...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants