Support the ongoing development of Laravel.io →
Authentication Eloquent
Last updated 1 year ago.
0

The driver is set to eloquent and not database right?

Last updated 1 year ago.
0

robclancy said:

The driver is set to eloquent and not database right?

Confirmed:

	'driver' => 'eloquent',
Last updated 1 year ago.
0
Solution

When I set prefix to tbl_ in the config it does work because my table name is tbl_users.

It just ignores models/User.php it seems. Because when I put in some stuff like echo 1 does never get called.

edit:

I had an extra laravel folder in vendor. Since User existed there, it choose that one. No idea what that was doing there.

Last updated 1 year ago.
0

Did you try a composer update?

Last updated 1 year ago.
0

I know this is an old thead, but, for the record and posterity ... an extra laravel folder in vendor? As in, there are two? Or just one?

Because there should be a vendor/laravel folder ...

I'm wondering if this instead was a case of the order that things were defined in the 'providers' array in config/app.php, because I ran into that as well.

Last updated 7 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

m19 m19 Joined 1 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.