Hello everyone, I face the current problem: I'd like to query A parent article with all it's childre...
Hi folks! I have column "category" in "posts" table, each post can have multiple...
Hello, I have a problem I want to discuss here. At first I thought an answer given in chat might be...
Hello, I want to have rows which are based on a user, so for example if I do a find I would see MY r...
I have a bit of unique situation that I feel like I should be seeing, but I'm not. I have a table t...
I started to use Laravel in Laravel 3, and built a production app with Laravel 4. I am facing severa...
Hi all, I building the system using multiple db sample structure. But i have problem. I try ORM Rela...
This is probably a dumb question, but I have a form where the user is to select from different dropd...
I have the following model. <?php namespace App; use Illuminate\Database\Eloquent\Model; class...
how do a query to do join between table-contact db1 with table-client db2. db1 db2...
I have a simple app I am building that allows users to create post that allow up to 4 images attache...
I create a collection from result of a external webservice for calculate ships: $tipos = ['2' =>...
Welcome, I have a problem, I user the function "with" for relating between models in eloqu...
I need to seed a database and use a function (called ad the end of the code) defined in User model....
I have tried to find something one this but I have no idea. I could just fill the data a different w...
Im trying to get the ticket status title via Eloquent Relationship, but it keeps returning the ticke...
Trying to run a db:seed throws me this error. PHP Fatal error: Class 'Database' not found in /var/w...
Hi, I am trying to get the url e.g localhost/cat/restaurants/this-is-a-test but it throws an error w...
I have a query that counts rows in a table that equal 5. For some reason it is running multiple time...
Hello, I'm trying to list threads in a forum/category based on the last reply to the thread. I've th...
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