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 11 years ago

Many-To-Many whereHas() not adding the table name?

Did you try this $query->where('hospitals_doctors.hospital_id', 2)

0 Likes
replied 11 years ago

Array to fill a checkbox

Yes. I use this technic to work with Many-to-Many relationships. Let's say you have a role-permissio...

0 Likes
Solved
replied 11 years ago

One-To-Many Relationship On The Same Model [Laravel 5]

has and whereHas are used to check if there exist at least one related model looking from the One-si...

0 Likes
replied 11 years ago

Query Trouble

The second parameter of whereIn should be an array of a closure. You are passing a query builder obj...

0 Likes
Solved
replied 11 years ago

Relation with extra condition

colshrapnel said: Every example I am able to find uses constant value in condition but here I have...

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.