I'm creating a subnavigation with childs in childs. And i would like to know how i can optimalise th...
What am I doing wrong ? please advice ? Controller public function getHotelgallery($hotel) {...
I've got three tables, dates, and composite dates (and a pivot table). A date can be in many composi...
I'm curious how you guys structure the controller's response on an ajax call? I usually don't use th...
Im not sure, but i think in the past, when i used timestamps() in my migration, laravel automaticall...
I'm building a threaded forum using closure tables. I have two tables, Paths and Comments, set up li...
I have a form that allows a user to submit a small image and a large image. The edit form is where I...
Hello friends, I'm currently coding a REST API, however I'm having an issue with Laravel 4.1.x Bindi...
Hi, colleague! I think that common multilangual mechanism is a good idea. We have common class, whic...
Hi I've got 2 tables. THe first one is the full listed option with (id, name). The second one is the...
Consider the following setup (and let's not discuss wether it makes sense as it's only an example)....
I have Posts, that are linked to many Tags in a many-to-many relationship. I also have an array of T...
Hi, maybe i'm missing something, but i'm having a hard time figuring out how to save/update models w...
Hi All, I can figure out how to save multiple items with one-to-many :( $order = new Order; $order-...
if i do $browsenode->products()->save($product); thanks in advance dudi
Hi Guys, i have a problem with my table structure and the query builder, as i am not able to build t...
Hello, Here is my NewSite.php command file: <?php use Illuminate\Console\Command; use Symfony\Co...
I've been setting custom attributes to collection objects. For example; Looping through $items check...
When we do a relationship (e.g. One to One): $phone = User::find(1)->phone; there are 2 queries:...
This one has been picking my brain for a while and I have tried multiple methods but can't seem to m...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community