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...
Greetings... I am updating some models in this fashion: Foo::where('name', '=', 'bar')->update(['...
I created simple recursive relationship: public function children() { $children = $this->hasMany(...
I have a model called Product that has the following self referencing many-to-many relation: // pare...
the solution must be simple but i cant see it Iam passing an array to the view, whit all the fields...
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