I have a method that returns all the current user's blogs. User hasMany Blogs and Blog belongsTo Use...
Hello, could somebody kick me into right direction how to build this kind of query in eloquent: SET...
In my blog application there users can post articles and comments on there. When I go to any user pr...
I would like to insert a large number of rows into my database using chunks, but I am not sure I am...
Greeting to everybody, I'm building a pretty big and complex application in laravel 5.2. it's going...
I'm writing something that is performing an eloquent query on a model called Enquiry. The actual que...
Hi Guys...i need some help...i need to implement something like this... select * FROM matchscore_pr...
hi, I'm started to use Laravel and have a question about the underscore convention when creating tab...
Hi, I have a question regarding system design of a REST API. I have users and roles and want to atta...
Hi guys, Is it possible in Laravel/Eloquent to only eager load a relation when a condition is met? F...
Using the following: return $this->hasMany(Text::class, 'item_id')->where('item_type', 'produc...
I want to make a record after validation of data sent with ajax. the idea is to run the function Cre...
I've a few projects coming up where I'll need to allow users to create custom fields on things like...
I have a table to store all emails sended by laravel. I can fire events and store different informat...
this include the base Model class itself, any idea on how to achieve that?
I'm currently scratching my head with this one. What I have. $entries = Meta::whereIn('settlement_id...
Hi, Is there an easy way to do updates to existing tables? Something that would be run when a table...
Hi, I'am new to Laravel, I'am trying to develop Multiple Choice Question Application, I need to get...
So I have a command that creates a database connection on the fly like so: protected function creat...
I posted this question on Laracast forum.However,I have not got a solution,so please excuse me to po...
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.