Support the ongoing development of Laravel.io →

SP1966

Joined 7 Jul 2014

Statistics

Threads 1
Replies 2
Solutions 1
Articles 0
posted 9 years ago

Namespaced Model not found, comes up 'Acme\Eloquent' rather than 'Acme\User'.

I've used psr-4 and created an 'Acme namespace. I then added 'namespace Acme; to User.php and moved...

0 Likes
2 Replies
Solved
replied 9 years ago

Codeception, Laravel and Exceptions

I too am having issues with this, does anybody have any ideas?

0 Likes
replied 9 years ago

Namespaced Model not found, comes up 'Acme\Eloquent' rather than 'Acme\User'.

Finally found the answer, you have to add use Eloquent; to the model! Thanks for taking the time to...

0 Likes
Solved

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.