I have created a new connection in my config.database like; 'mysql' => [ 'driver' => 'mys...
Please see the below tables and how to get Member -> donation[]->material by priority where is...
I have the following table structure in my database. Table Name: tiles Columns: id, tile_name, tile_...
Hello, how populate data from controller to highcharts(line chart)? js line chart <script type=&q...
Hi, I've model with fillable column shop_visible. How could I eager load other model where row value...
My page showing this message FatalErrorException in LengthAwarePaginator.php line 126: Access to und...
Hi Guys :D I need to reference People model with itself. My reference table has the following column...
Hello, I'm having a problem with Eloquent. I want to optimize my request by retrieving only certains...
Hi, I am trying to get my users role relations through the Auth::user() function. I have done this b...
Hi sorry but how can i combine a whereIn, join and an update like : $query = DB::table('tableA'); $q...
Well i tried to post my problem, but the forum mark it like spam (?) so here is my question http://l...
I have two models tag and post. When i create the tag I assign it like Post::find(1)->tags()->...
Hi all, in the blazoned example of Article-Tags i've the soft delete for the articles. $article->...
Hello everyone, i am facing timing issues when i use has relationship. Specifically I have models 'P...
I have relation many to many (posts and tags) in Eloquent. Is it possible to order tags in the pivot...
Hello, In my site i want to implement a facebook/twitter login and also full sign up option. in my...
Hello all, Rather new to Laravel 5, I am trying to pull data with its relation and define specific f...
Hello, Please help me. I am new to laravel 5, I know the basic operation of laravel 5. I want to cre...
I'm using simple table inheritance with Laravel (using a plugin like Nanigans/single-table-inheritan...
In my page I need to view data from a table I have a banners module and that module has a pivot tabl...
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