I am trying to do a 3 levels dynamic or dependent dropdown list. i managed to fix the first two and...
Hi, What is the idea on setting up migrations with foreign keys as a fresh setup? so my idea is to b...
Hello, Here is my Row Query to get the data from database. $user = DB::table('users')->get(); I w...
Hi, When i make a migration with a string as foreign key, it don't work, but with an int its working...
Hi Gaes I encountered a problem where I want to show data by year If the variable $ year I return th...
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?
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