Support the ongoing development of Laravel.io →
Hrvoje Jukic

Hrvoje Jukic

Joined 13 Oct 2014
Hrvoje is a full-stack Laravel developer since 2014. He has a master in computer science and hes own company https://yuca.ba

Statistics

Threads 1
Replies 213
Solutions 26
Articles 0

Redis connection contract

Laravel Version: 5.8 Why doesn't https://github.com/laravel/framework/blob/5.8/src/Illuminate/Redis/...

0 Likes
0 Replies
replied 10 years ago

Timing issues when use has relationship

Try this $phones = Phone::where(function($query){ ... } //end of closure )->whereHas('productnum'...

0 Likes
replied 10 years ago

The page isn't redirecting properly

You probably have a circular dependancy in your redirects. You allways return a redirect.

0 Likes
replied 10 years ago

Return an array from Helper Class to blade template

In blade {{ $something }} is exactly equal to <?php echo $something ?> You can not echo an a...

0 Likes
replied 11 years ago

can i access the object under hasmany?

Hello. TerrePorter shows how to eager load the needed data, use that approach. To show it in the vie...

0 Likes
replied 11 years ago

How to access relationship over relationship? Something like belongsToThrough() needed.

You're wrong. The relationship between table_1 and table_2 is Many-to-Many where table_3 is the pivo...

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.

© 2026 Laravel.io - All rights reserved.