I've 3 models: User Order Billet User: DB: -id ... Model: public function orders() { return $t...
Hi, i am having some trouble trying to change a connection's database key on the fly to let a model...
Hello, I'm new on Laravel, and I need some help to build this query. My clients have many contacts,...
Hi there. Here is my problem I have an eloquent model called Notification with a polymorphism relati...
I am building a specific kind of messaging system. A user can message a user. A user can message a c...
Yo! I would like to use User::find to every page of my Laravel site, views and controllers. In Larav...
So, I have a situation where users can add posts to a forum and then comment on those posts. What I...
Hello, I have this migration file <?php use Illuminate\Database\Migrations\Migration; class Cr...
I'm going through the laravel documentation and practicing table joins and I am trying to join 2 tab...
Basically, I'm trying to use the following table structure in Eloquent. I have a polymorphic table t...
Hi, I am having problems to invoke a relationship method on a model over reflection. My models are:...
Hi,i have an issues with categories, i'm using the Franzose plugins to developed the product and ca...
Hi everyone, I am using the polymorphic relations for the first time and encountering a problem. Her...
Hello everyone! I am trying to achieve something like a morph relation but in a different manner. I...
I've 2 tables 1st Table is: Projects ID Name 2nd Table is: Users ID Name Project_id...
Hello, how to pass json to javascript in laravel this value $salename=json_encode($oSales); resua...
I have used franzose/ClosureTable to built the product categories, i need to display each one child...
Hi guys, is there a way to make our belongsToMany() method add more relations than described in pivo...
I'm just starting out with Lavarel and i could do with a few tips. I'm creating a multi-tenant servi...
I have the following query: Product::create($request->all()); which works absolutely fine but...
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