Support the ongoing development of Laravel.io →
johnvic

johnvic

Joined 2 Apr 2014

Statistics

Threads 1
Replies 33
Solutions 7
Articles 0

Laravel XML-RPC

Has someone implemented xml-rpc in laravel?

0 Likes
4 Replies
replied 11 years ago

How to solve this with N+1 issue? Customer has a lot of activities, I want to take the latest one

ok you have two options, maybe you could use an accessor or update your relationship activity some...

0 Likes
Solved
replied 11 years ago

How to solve this with N+1 issue? Customer has a lot of activities, I want to take the latest one

why your using first()?..can u try this? $customers = Customer::with('activity')->orderBy('update...

0 Likes
replied 11 years ago
0 Likes

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.

© 2026 Laravel.io - All rights reserved.