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...
##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...
I and looking to do my own blog to go alongside my new site build but was wonder what people would s...
I gotta give up. I don't want to, but I got to, because trying to learn Laravel with very very limit...
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...
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() {...
Hi, I came across very weird issue for test cases. I have written test cases in laravel application....
HI all, I am New to laravel and learning going through laravel documentation and practicing side by...
Hello, I'm trying to load an Eloquent model with a polymorphic relationship. I want to get Photos th...
Hi everyone! I'm new to laravel and I need some help with this problem. I have 2 tables posts and po...
I'm buidling a SaaS and have added a client_id column to each of my tables. Now in my repositories,...
Hi, I need to join one table into a query only if another condition is true. I try, using the exanpl...
I've been searching and hacking away for the past few hours now. I have a bunch of models. They're...
Hi all :), First of all : I opened a help paste here describing the core of the problem. I did many...
I'm developing an application system. Breakdown is there are Events and Districts - the Application...
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