Hi guys, I'm wondering how to deal with this situation: I have this structure: Ingredients (basic li...
Is it possible to create "lazy DB connection" in Laravel on easy way? If my app cache all...
Hello, When I fill in a form, the fields created_at and updated_at will be filled in, all ok. I have...
i have this $data = ['name' =>'Name', 'observation' => "concat($obervation, 'observation'...
I want to create my db schema, model and relations by using "http://laravelsd.com/" and wa...
Hi, I don't understand why I can't access my "reductions" array in my javascript. (Referen...
This seems really simple (and probably is), but it doesn't seem to be covered in the documentation....
Per the docs, I was expecting Eloquent to automatically fill created_at and updated_at attributes. h...
I'm using the master branch of laravel which is currently pointing to 5.1 I'm trying to get the id o...
I would like to sort items by column relation in laravel (5.1) I have a database table called intere...
I have 3 tables Course , Lesson , Assets A Course will have multiple Lessons and 1 Lesson will be li...
I'd like to know if the accessors and mutators could be (ab)used for this purpose, from what I gathe...
Hello everyone, Basically what I'm trying to do is "count" the number of records that two...
Hi, I had a BelongsToMany database schema that worked great, but I added a new table with fk and can...
Hi, I want to build this query out of eloquent (I know you can with QB but for sake of elegance and...
Hi, I'm using Eloquent to retrieve results with a chunk. With large collections, the closure seems t...
How would I go about calling a model using a dynamic variable? I thought $nameOfModel::all() would w...
I'm inserting related records but need to return the ID of one of the inserted ones. How do I do thi...
Hello, I have a very confusing problem and yesterday spent whole day trying to solve it, but without...
Hi, I've been stuck with this problem for days now: I have a service provider that monitors for the...
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