I'm just wondering why Laravel behave in this manner when it comes to hasMany() relationships in Elo...
I have table users and user_language and I create relations for user_language. user_language will ke...
My team has been investigating graph databases for our new project, and have landed on using OrientD...
A simple model with a function class crmUser extends Eloquent { protected $table = 'Person';...
Hi. I am new to Laravel. I am using Laravel 5.1 for my current project. I have 4 table. users, categ...
I have a user, user_relationship, and term table. I have a belongsToMany function in my User relatio...
I have added cascade on delete to foreign keys on my migrations. They are working on mySql in local...
Hi, I have the following models and relations: Ads has many-to-many with Cities Ads has many-to-many...
Hello, i am stuck on an eloquent query. I am rewriting an old app based in symfony 1.4 for Laravel 5...
Hi All, I have below mentioned relationship in my L5 App. 1.Quiz -----one to many-----...
Hi everyone, I know this has been asked few times before but still i'm stick in it, here are my tabl...
I'm using L5.1 and I have this relation in my model: public function rma_platform(){ return $this-...
I have database outpu like [{"lessonTypeId":"1"},{"lessonTypeId":"...
I wish to build a new website based on my old website. To do that i use Laravel 4 (I cannot use lara...
I have extended the basic Eloquent\Collection class as follows: class BoogerCollection extends \Illu...
I have in controller : $lista = Lesson::where('id', $id_less) ->with(['user' => function ($q)...
Hi, i have two table: LECTURES id name 1 Lesson 1 2 Lesson 2 3 Lesson 3 LECT...
All in the interest of learning Laravel and better coding. This is my controller: public function in...
We're building a restful api which in this case is consumed via an Angular frontend. All works well,...
Hi, I have trouble with a transaction. I want to improve a dashboard view in my applicaton. To do so...
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