Hi, I am trying to create a game with the tables listed below. There is a sample of the migration fi...
After updating to Laravel 8, I figured out that the behavior of what happens if I use model binding...
I'm trying to get the name and id of a certain department using the query: $department = Department:...
After model is set from(), in addGlobalScope, query field does not exist column through Schema::hasC...
It's about Laravel Eloquent. I have a search filter programmed with four search criteria. Now it can...
No se que mas me falta para que funcione a la hora de guardar desde el controlador. La idea esque un...
I am having a problem with implicit model binding on routes for Soft Deleted Models. When using the...
In model:- use HasTags and when i have attach tags using like this $model->attachTags(['Tag 1',...
I'm using laravel 8 and I want to list data of the last 7 days for each row and when no data is foun...
i tried to create an api with laravel 8,when i try to retrieve data with eloquent relation it's gett...
Hi I'm using below code to retrieve "day" and "amount". However if there is any...
Hi! I'm a little confused with the blade @foreach loop: I have a table that shows a list of car make...
I've a lots of models like User, Order, .... I want to write dynamic filter associated with request...
Hi, We have a Laravel job which uses Eloquent to generate formated data for caching. The job hits th...
Hello, I need to run queries to my eloquent models using some parser using FIQL or RQL syntax. Can s...
How would I get a list of active Users plus a User that might be soft-deleted? Say, a salesperson is...
Hello everyone I'm currently working on a laravel project where I have a parent table that has the i...
Hello, I Want To Update My Database Column Of Checkbox On Checked & Unchecked, Want Will Be The...
Hi i have in my database a table with the following fields: $table->decimal('sale_price')...
Product belongs to many postings, and I want to sum multiple columns. This example working correctly...
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