Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

find(), all(), first() and Their Extra Options

Premium
2:30

Let's talk about all() and first() methods of Eloquent. They have different parameters and kinds of advanced features.


So typically, if we launch all(), for example, from Tinker, it returns all the models.

In this case, there are three users in the database. Did you know you can specify the fields? The all() method accepts...

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

54 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

No comments yet…