Support the ongoing development of Laravel.io →
Cosme Escobedo

Cosme Escobedo

Joined 4 Feb 2022
Writing at https://cosme.dev

Statistics

Threads 0
Replies 5
Solutions 1
Articles 5

Articles

Article Hero Image
Cosme Escobedo
cosmeoes
published on 10 Feb, 2022

Filter Eloquent models with multiple optional filters

Often we need to filter eloquent models when displaying to a view. If we have a small number of filt...

Eloquent IOC Requests
7 min read

, , liked this article

14 Likes
Article Hero Image
Cosme Escobedo
cosmeoes
published on 4 Feb, 2022

How to find the slowest query in your application

Is your website slow? does it take ages to load? Are the users complaining that it's almost unusable...

Database Eloquent Logging
5 min read

, , , , , , , , , and more liked this article

26 Likes

cosmeoes has not posted any threads yet

replied 3 years ago

Eloquent query builder does not work correct for morph to re

I created the pull request: https://github.com/laravel/framework/pull/44189 We'll see what the Larav...

0 Likes
replied 3 years ago

Eloquent query builder does not work correct for morph to re

I think it makes sense that it would work the way you expected it to work. I was going to check it a...

1 Likes
replied 3 years ago

Eloquent query builder does not work correct for morph to re

Hey, I'm not entirely sure if that's the intended behavior or not, but I found a way to get the resu...

1 Likes
Solved
replied 3 years ago

419 PAGE EXPIRED

How are you clicking the button multiple times? Are you using js to submit the form? if that is the...

1 Likes
replied 3 years ago

Consultation in Laravel

As far as I'm aware find only returns one database row. What happens if you don't use pluck, what do...

1 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.