Support the ongoing development of Laravel.io →
d3mueller

d3mueller

Joined 29 Aug 2014

Statistics

Threads 16
Replies 46
Solutions 3
Articles 0

Eager loading with constraint in the pivot table

Hi, I am planning to create three tables researches resources research_resources (the costs for upgr...

0 Likes
2 Replies

code within a Route runs more than once

Hi, I have this route: Route::get('/develop/building/{building_id}', ['as' => 'develop.building',...

0 Likes
7 Replies

Nested relationships when parent is a many-to-many relationship

Hi, I have these three models: Building (table: buildings) Object (table: objects) BuildingType (tab...

1 Likes
21 Replies
Solved
posted 11 years ago

Get index of array(with objects inside) where the object's attribute = x

Hi, I have an array with objects called $buildings It has 5 buildings, each with a relation to a &q...

0 Likes
5 Replies
Solved

eager loading (don't know how to call my problem exactly)

Hi, I have three tables: resources, locations and location_supplies The resources table contains the...

0 Likes
7 Replies
Solved
replied 10 years ago

when I diedump my browser doesn't prettifies the JSON

Okay I found the answer: in my homestead.yam file I had this line in the definition of my site: hhvm...

0 Likes
Solved
replied 10 years ago

when I diedump my browser doesn't prettifies the JSON

ddelnano said: If you are using Chrome, try JSONView.> Also tried that :( opb said: When this...

0 Likes
replied 10 years ago

when I diedump my browser doesn't prettifies the JSON

Unfortunately, that plugin didn't work as well

0 Likes
replied 11 years ago

App::before() runs more than once

Yes, but for this I need to know where to place it. Or am I wrong?

0 Likes
replied 11 years ago

custom (Eloquent?) method

Got it. Just added a method to the Collection Class :)

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.