Support the ongoing development of Laravel.io →
Database Eloquent

Hello every one, I am a newbie in Laravel, I just took a Lesson about Laravel 5 Fundamentals. After installing laravel, I created a model called Article and a migration too, using tinker, I was able to populate the database with some testing data. I also was able to perform queries like where() find() using tinker. Now comes the problem, When I try to implement this idea of using the query builder find() in my ArticlesController@Show. I receive an error and it seems like the find() is not found in App\Articles (This is the message i get when i mouse over find() ).

Thanks in advance.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

georgie817 georgie817 Joined 11 Dec 2015

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.

© 2025 Laravel.io - All rights reserved.