Hi, I've tried to figure out if this is possible, but can't figure out how if it's even possible. Le...
Hi, I have two tables that look something like this: # Author # ID Name Slug 1 Denni...
I'm trying to access a Model and Controller from a custom library class. I have created an app/lib f...
Howdy! When I try to use a whereHas within a grouped where class, I get an error. Any ideas? $activi...
Is there a way to set a transient property for an Eloquent model that won't save to the database? Fo...
I have a route like this: www.mysite.com/agenda/2014/08/16?tags=entertainement,sport,information&...
##Problem I have an eloquent model "Invoice" that hasMany "InvoiceTicket" that b...
Hello everyone, I'm an absolute beginner to Laravel, and this is my first thread, so I hope I'm not...
i have set up users and roles table with a pivot table and i need to check, if logged user has admin...
Hey guys. I just began to work with laravel. Sorry for bad English. So I've got a table named 'reque...
Let's say, I have the following strong entities (and their attributes): Post (title, content) Tag (...
DB::table('users') ->join('contacts', function($join) { $join->o...
Suppose you have a simple products table: id | name | category ....................... 1 | prod1 |...
Hello there, i'm new in laravel, also in MVC development and i want to ask for suggestion about the...
Hi, I have two models : Sale.php <?php class Sale extends Eloquent { public function groups() {...
Hello, I'm trying to load an Eloquent model with a polymorphic relationship. I want to get Photos th...
Hello there is this old thread here: http://forumsarchive.laravel.io/viewtopic.php?pid=52059 Someone...
Hi everyone! I'm new to laravel and I need some help with this problem. I have 2 tables posts and po...
Hi guys i'm trying to Load all Collection with Items inside Collection with Eager Load but i only wa...
I'm buidling a SaaS and have added a client_id column to each of my tables. Now in my repositories,...
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.